summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 85d106c)
raw | patch | inline | side by side (parent: 85d106c)
author | Junio C Hamano <junkio@cox.net> | |
Sun, 18 Sep 2005 21:11:53 +0000 (14:11 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sun, 18 Sep 2005 21:11:53 +0000 (14:11 -0700) |
Bugfix for the previous one.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
fetch.c | patch | blob | history |
index 1d95ce0cc2d1efcba2eb26354aa36482080d4077..af9a013bd208718daa6e10f244ab1a90395b2e81 100644 (file)
--- a/fetch.c
+++ b/fetch.c
* the queue because we needed to fetch it first.
*/
if (! (obj->flags & TO_SCAN)) {
- if (fetch(obj->sha1)) {
+ if (!has_sha1_file(obj->sha1) && fetch(obj->sha1)) {
report_missing(obj->type
? obj->type
: "object", obj->sha1);