author | Sergey Vlasov <vsu@altlinux.ru> | |
Wed, 21 Sep 2005 16:34:14 +0000 (20:34 +0400) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Fri, 23 Sep 2005 04:52:11 +0000 (21:52 -0700) | ||
commit | 7b64d06b2e74612a0970c8563845cb9ee34724af | |
tree | 585e35f3d602f3e783cb9a63eacb990ef6662083 | tree | snapshot |
parent | 51d8faf8608aa8d2f6a8c4b3c1b712adb0d39325 | commit | diff |
[PATCH] fetch.c: Remove some duplicated code in process()
It does not matter if we call prefetch() or set the TO_SCAN flag before
or after adding the object to process_queue. However, doing it before
object_list_insert() allows us to kill 3 lines of duplicated code.
Signed-off-by: Sergey Vlasov <vsu@altlinux.ru>
Signed-off-by: Junio C Hamano <junkio@cox.net>
It does not matter if we call prefetch() or set the TO_SCAN flag before
or after adding the object to process_queue. However, doing it before
object_list_insert() allows us to kill 3 lines of duplicated code.
Signed-off-by: Sergey Vlasov <vsu@altlinux.ru>
Signed-off-by: Junio C Hamano <junkio@cox.net>
fetch.c | diff | blob | history |