diff options
Diffstat (limited to 'src/commit/commit-algorithm.cpp')
-rw-r--r-- | src/commit/commit-algorithm.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/commit/commit-algorithm.cpp b/src/commit/commit-algorithm.cpp index 43f861f..5f77dfb 100644 --- a/src/commit/commit-algorithm.cpp +++ b/src/commit/commit-algorithm.cpp @@ -774,7 +774,9 @@ _execute_hooks(CommitHook hook) cmd += getCommitHookDir(hook); cmd += "'"; // not checking return status + restore_output(); system(cmd.c_str()); + redirect_output(); } |