Explorar el Código

Merge "Fix 'repo cherry-pick' to avoid hanging on commit-msg update."

David Pursehouse hace 10 años
padre
commit
c5ceeb1625
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      subcmds/cherry_pick.py

+ 1 - 0
subcmds/cherry_pick.py

@@ -76,6 +76,7 @@ change id will be added.
                      capture_stdout = True,
                      capture_stderr = True)
       p.stdin.write(new_msg)
+      p.stdin.close()
       if p.Wait() != 0:
         print("error: Failed to update commit message", file=sys.stderr)
         sys.exit(1)