]> git.lizzy.rs Git - plan9front.git/commit
git/push, git/send: get better about erroring out early
authorOri Bernstein <ori@eigenstate.org>
Sun, 13 Jun 2021 12:48:49 +0000 (12:48 +0000)
committerOri Bernstein <ori@eigenstate.org>
Sun, 13 Jun 2021 12:48:49 +0000 (12:48 +0000)
commit8ab397c23c2fdbbe64d10f756bb4eb15aab54075
tree6630935ebe71b473a067408a48b31ad07216110b
parentc9bf96e3e04a46122ec33840d69ae2341cebd50c
git/push, git/send: get better about erroring out early

git/push died within a subshell, which prevented the
whole program from exiting, and lead to an incorrect
ref update line that confused people.

git/send would eventually error out, but would push
all the data before that happened; this was annoying.
sys/src/cmd/git/pack.c
sys/src/cmd/git/push