summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOwen W. Taylor <otaylor@fishsoup.net>2012-03-01 15:30:04 -0500
committerOwen W. Taylor <otaylor@fishsoup.net>2012-03-01 15:30:04 -0500
commit9f46b5b3b6d80fa76b33849c1b70eca9195d9145 (patch)
tree2bdd946869582b598c1722bdd33506116ebac7c5
parentf69a952c5d66fcd2da40d125374608c04f39960b (diff)
apply: pass _interactive=True when running 'git commit --amend'
If the editor uses the terminal, the missing _interactive=True will cause things to hang.
-rwxr-xr-xgit-bz4
1 files 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"