summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 754ac00)
raw | patch | inline | side by side (parent: 754ac00)
author | Sergey Vlasov <vsu@altlinux.ru> | |
Wed, 21 Sep 2005 16:34:09 +0000 (20:34 +0400) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Fri, 23 Sep 2005 04:52:11 +0000 (21:52 -0700) |
The TO_FETCH flag also became redundant after adding the SEEN flag -
it was set and checked in process() to prevent adding the same object
to process_queue multiple times, but now SEEN guards against this.
Signed-off-by: Sergey Vlasov <vsu@altlinux.ru>
Signed-off-by: Junio C Hamano <junkio@cox.net>
it was set and checked in process() to prevent adding the same object
to process_queue multiple times, but now SEEN guards against this.
Signed-off-by: Sergey Vlasov <vsu@altlinux.ru>
Signed-off-by: Junio C Hamano <junkio@cox.net>
fetch.c | patch | blob | history |
index a1748e0b3ded9c60ae6b37c599e6b837482e87e0..390de99f2aebcc8d3098c556120af5d6298ab10a 100644 (file)
--- a/fetch.c
+++ b/fetch.c
}
#define COMPLETE 1U
-#define TO_FETCH 2U
#define TO_SCAN 4U
#define SEEN 16U
obj->flags |= TO_SCAN;
return 0;
}
- if (obj->flags & (COMPLETE | TO_FETCH))
+ if (obj->flags & COMPLETE)
return 0;
object_list_insert(obj, process_queue_end);
process_queue_end = &(*process_queue_end)->next;
- obj->flags |= TO_FETCH;
prefetch(obj->sha1);