This will change the behavior in the CLI to resemble that of C-Git more closely by printing the stderr of the hooks to the CLI stderr independently of the exit code of the hook. This is also useful for the corresponding EGIT-Change, which will add the ability to show the hook output in eclipse. With this also the stderr can be shown even if the exit code is 0. Bug: 553471 Change-Id: Ie7bc503fe39e270e9b93dd1108b5879f02a12b4c Signed-off-by: Tim Neumann <Tim.Neumann@advantest.com> |
4 years ago | |
---|---|---|
.. | ||
CommitMsgHook.java | Add ability to redirect stderr from git hooks | 4 years ago |
GitHook.java | Add ability to redirect stderr from git hooks | 4 years ago |
Hooks.java | Add ability to redirect stderr from git hooks | 4 years ago |
PostCommitHook.java | Add ability to redirect stderr from git hooks | 4 years ago |
PreCommitHook.java | Add ability to redirect stderr from git hooks | 4 years ago |
PrePushHook.java | Add ability to redirect stderr from git hooks | 4 years ago |