path: root/
diff options
authorNick Hengeveld <>2005-11-04 01:54:52 (GMT)
committerJunio C Hamano <>2005-11-04 02:35:18 (GMT)
commit50496b2170cbe87b4c13f89f274aa2f181522bb9 (patch)
treeae0ef8bb9e863ca3ea82f68d1eafc6f37bf23310 /
parent2be8fd085e865097fa0908fe1a94c8edf9cde7f5 (diff)
Remove the temp file if it is empty after the request has failed
After using cg-update to pull, empty files named *.temp are left in the various subdirectories of .git/objects/. These are created by git-http-fetch to hold data as it's being fetched from the remote repository. They are left behind after a transfer error so that the next time git-http-fetch runs it can pick up where it left off. If they're empty though, it would make more sense to delete them rather than leaving them behind for the next attempt. Signed-off-by: Nick Hengeveld <> Signed-off-by: Junio C Hamano <>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions