X-Git-Url: https://git.octo.it/?a=blobdiff_plain;ds=sidebyside;f=fetch.c;h=73bde07aeaeea67e44aef7aec1b79d5806e80a1b;hb=11f0dafe2be419240c0006c3e9112cbad3568baf;hp=3e073d3584c25e35da0163689508599659328605;hpb=380792390e05e744f9d7eefbc35d1db80e44e27a;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);