X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=fetch.c;h=73bde07aeaeea67e44aef7aec1b79d5806e80a1b;hb=d9635e9c539465792b1920437b52fa8792a71650;hp=3e073d3584c25e35da0163689508599659328605;hpb=820eca68c2577d7499d203d7f4f7ae479b577683;p=git.git diff --git a/fetch.c b/fetch.c index 3e073d35..73bde07a 100644 --- a/fetch.c +++ b/fetch.c @@ -165,7 +165,7 @@ static int loop(void) * the queue because we needed to fetch it first. */ if (! (obj->flags & TO_SCAN)) { - if (!has_sha1_file(obj->sha1) && fetch(obj->sha1)) { + if (fetch(obj->sha1)) { report_missing(obj->type ? obj->type : "object", obj->sha1);