Navigation Menu

Skip to content

Commit

Permalink
fetch() assumes we do not have the object.
Browse files Browse the repository at this point in the history
Bugfix for the previous one.

Signed-off-by: Junio C Hamano <junkio@cox.net>
  • Loading branch information
Junio C Hamano committed Sep 18, 2005
1 parent 85d106c commit 029f6de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fetch.c
Expand Up @@ -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);
Expand Down

0 comments on commit 029f6de

Please sign in to comment.