]> git.lizzy.rs Git - plan9front.git/commit
git/fetch: be more robust
authorOri Bernstein <ori@eigenstate.org>
Tue, 27 Jul 2021 15:05:45 +0000 (15:05 +0000)
committerOri Bernstein <ori@eigenstate.org>
Tue, 27 Jul 2021 15:05:45 +0000 (15:05 +0000)
commit70d173bfa49e6c7cfd560799d83713d41b120e45
treec7cbff65d79bc6c32db08017e7b4600ef7288232
parent28f76455d39d990b47c6e46e18158f0a9ba09d25
git/fetch: be more robust

currently, git/fetch prints the refs
to update before it fully fetches the
pack files; this can lead to updates
to the refs before we're 100% certain
that the objects are present.

This change prints the updates after
the packfile has been successfully
indexed.
sys/src/cmd/git/fetch.c