Revision e2b77f026a251a47ebdf634107e76f7b457087af authored by Sergey Vlasov on 23 September 2005, 12:28:33 UTC, committed by Junio C Hamano on 23 September 2005, 21:30:45 UTC
"git-local-fetch -s" did not work with a packed repository, because
symlink() happily created a link to a non-existing object file,
therefore fetch_file() always returned success, and fetch_pack() was
not called.  Fixed by calling stat() before symlink() to ensure the
file really exists.

Signed-off-by: Sergey Vlasov <vsu@altlinux.ru>
Signed-off-by: Junio C Hamano <junkio@cox.net>
1 parent 1a95181
History
File Mode Size
sha1.c -rw-r--r-- 1.4 KB
sha1.h -rw-r--r-- 396 bytes
sha1ppc.S -rw-r--r-- 3.6 KB

back to top