diff options
Diffstat (limited to 'scripts/git-hooks/commit-msg')
| -rwxr-xr-x | scripts/git-hooks/commit-msg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/git-hooks/commit-msg b/scripts/git-hooks/commit-msg index bdea8c38d..05dce1ebb 100755 --- a/scripts/git-hooks/commit-msg +++ b/scripts/git-hooks/commit-msg @@ -49,7 +49,7 @@ sub re_edit($) warn "Interrupt (Ctrl-C) to abort...\n"; - system 'sh', '-c', "$editor $log_file"; + system 'sh', '-c', "$editor $log_file </dev/tty >/dev/tty 2>&1"; ($? & 127) || ($? >> 8) and die "$ME: $log_file: the editor ($editor) failed, aborting\n"; } |
