]> asedeno.scripts.mit.edu Git - git.git/blobdiff - fetch.c
GIT 0.99.7
[git.git] / fetch.c
diff --git a/fetch.c b/fetch.c
index 1d95ce0cc2d1efcba2eb26354aa36482080d4077..af9a013bd208718daa6e10f244ab1a90395b2e81 100644 (file)
--- a/fetch.c
+++ b/fetch.c
@@ -174,7 +174,7 @@ static int loop(void)
                 * 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);