diff options
author | Owen W. Taylor <otaylor@fishsoup.net> | 2012-03-01 15:30:04 -0500 |
---|---|---|
committer | Owen W. Taylor <otaylor@fishsoup.net> | 2012-03-01 15:30:04 -0500 |
commit | 9f46b5b3b6d80fa76b33849c1b70eca9195d9145 (patch) | |
tree | 2bdd946869582b598c1722bdd33506116ebac7c5 | |
parent | f69a952c5d66fcd2da40d125374608c04f39960b (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-x | git-bz | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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" |