summaryrefslogtreecommitdiff
path: root/builtin-fetch-pack.c
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2007-09-14 07:31:25 (GMT)
committerJunio C Hamano <gitster@pobox.com>2007-09-19 10:22:31 (GMT)
commite4022ed2c85825f238661e3e532b0bb108b5e318 (patch)
tree662dca9a9593db9183f71eea44985693a669ae4d /builtin-fetch-pack.c
parent1788c39cd0742439b9bedc28bc10bc4d105b6c0f (diff)
downloadgit-e4022ed2c85825f238661e3e532b0bb108b5e318.zip
git-e4022ed2c85825f238661e3e532b0bb108b5e318.tar.gz
git-e4022ed2c85825f238661e3e532b0bb108b5e318.tar.bz2
Always ensure the pack.keep file is removed by git-fetch
If we are using a native transport and the transport chose to save the packfile it may have created a .keep file to protect the packfile from a concurrently running git-repack process. In such a case the git-fetch process should make sure it will unlink the .keep file even if it fails to update any refs as otherwise the newly downloaded packfile's diskspace will never be reclaimed if the objects are not actually referenced. Signed-off-by: Shawn O. Pearce <spearce@spearce.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-fetch-pack.c')
0 files changed, 0 insertions, 0 deletions