From 9f46b5b3b6d80fa76b33849c1b70eca9195d9145 Mon Sep 17 00:00:00 2001 From: "Owen W. Taylor" Date: Thu, 1 Mar 2012 15:30:04 -0500 Subject: apply: pass _interactive=True when running 'git commit --amend' If the editor uses the terminal, the missing _interactive=True will cause things to hang. --- git-bz | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/git-bz b/git-bz index 2e595e4..0ad6021 100755 --- a/git-bz +++ b/git-bz @@ -1579,7 +1579,7 @@ def do_apply(*args): if need_amend: try: - git.commit(amend=True) + git.commit(amend=True, _interactive=True) except CalledProcessError: print >>sys.stderr, "Warning: left dummy commit message" @@ -1689,7 +1689,7 @@ Subject: %s if need_amend: try: - git.commit(amend=True) + git.commit(amend=True, _interactive=True) except CalledProcessError: print >>sys.stderr, "Warning: left dummy commit message" -- cgit v1.2.3