[PATCH] git-local-fetch: Avoid confusing error messages on packed repositories
authorSergey Vlasov <vsu@altlinux.ru>
Fri, 23 Sep 2005 12:28:38 +0000 (16:28 +0400)
committerJunio C Hamano <junkio@cox.net>
Fri, 23 Sep 2005 21:30:46 +0000 (14:30 -0700)
commit628cd5430fdf71a75c02af88ab7b557d29687db5
tree348d2f05c4f4b246eef7330b4dd7bd9570c579fa
parente2b77f026a251a47ebdf634107e76f7b457087af
[PATCH] git-local-fetch: Avoid confusing error messages on packed repositories

If the source repository was packed, and git-local-fetch needed to
fetch a pack file, it spewed a misleading error message about not
being able to find the unpacked object.  Fixed by adding the
warn_if_not_exists argument to copy_file(), which controls printing
of error messages in case the source file does not exist.

Signed-off-by: Sergey Vlasov <vsu@altlinux.ru>
Signed-off-by: Junio C Hamano <junkio@cox.net>
local-fetch.c