summaryrefslogtreecommitdiffstats
path: root/subcmds/init.py
diff options
context:
space:
mode:
authorThan McIntosh <thanm@google.com>2015-06-01 11:17:13 -0400
committerThan McIntosh <thanm@google.com>2015-06-22 08:00:20 -0400
commitdb75704bfc12546bfbce96aea0be5c283df18314 (patch)
tree5944a458effaa5f8f7297176d2667d87db1b8c67 /subcmds/init.py
parent35de228f331101ba17bbc658c3cd910e54725517 (diff)
downloadgit-repo-db75704bfc12546bfbce96aea0be5c283df18314.tar.gz
Fix 'repo cherry-pick' to avoid hanging on commit-msg update.
After performing the actual cherry-pick operation, the code in cherry_pick.py opens a pipe to 'git commit -F' to rewrite the commit message, emits the fixed-up commit msg to the pipe, then waits for 'git commit' to complete. The child 'git' process winds up hanging while reading from the pipe, however, since the parent process still has it open. To fix the hang, change the parent process to close its end of the pipe after it has emitted the message. Change-Id: I5929371e69a5b076f09009d00d40a2c72ac8ac33
Diffstat (limited to 'subcmds/init.py')
0 files changed, 0 insertions, 0 deletions