Improve subprocess cleanup code
Right now all we do is defer the closing of stdin and stdout, and deferring a call to cmd.Wait(). It would be better to kill all processes in the process group of git-xx-pack subprocess.
cc @ayufan
Right now all we do is defer the closing of stdin and stdout, and deferring a call to cmd.Wait(). It would be better to kill all processes in the process group of git-xx-pack subprocess.
cc @ayufan