From: Sergey Vlasov Date: Fri, 23 Sep 2005 12:28:38 +0000 (+0400) Subject: [PATCH] git-local-fetch: Avoid confusing error messages on packed repositories X-Git-Tag: v0.99.7c~2^2~2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/628cd5430fdf71a75c02af88ab7b557d29687db5?hp=628cd5430fdf71a75c02af88ab7b557d29687db5 [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 Signed-off-by: Junio C Hamano ---