author | Nicolas Pitre <nico@cam.org> | |
Wed, 1 Nov 2006 22:06:25 +0000 (17:06 -0500) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Fri, 3 Nov 2006 08:24:07 +0000 (00:24 -0800) | ||
commit | 576162a45f35e157427300066b0ff566ff698a0f | |
tree | 2fdc7abe3ac1688b340b30cffd7d5e086c04998f | tree | snapshot |
parent | 9ca4a201eaf0c58dbc7184cb2d5ab01c48cb7447 | commit | diff |
remove .keep pack lock files when done with refs update
This makes both git-fetch and git-push (fetch-pack and receive-pack)
safe against a possible race with aparallel git-repack -a -d that could
prune the new pack while it is not yet referenced, and remove the .keep
file after refs have been updated.
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
This makes both git-fetch and git-push (fetch-pack and receive-pack)
safe against a possible race with aparallel git-repack -a -d that could
prune the new pack while it is not yet referenced, and remove the .keep
file after refs have been updated.
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Documentation/git-index-pack.txt | diff | blob | history | |
git-fetch.sh | diff | blob | history | |
index-pack.c | diff | blob | history | |
receive-pack.c | diff | blob | history |