Code

[PATCH] fetch.c: Remove some duplicated code in process()
authorSergey Vlasov <vsu@altlinux.ru>
Wed, 21 Sep 2005 16:34:14 +0000 (20:34 +0400)
committerJunio C Hamano <junkio@cox.net>
Wed, 21 Sep 2005 19:32:32 +0000 (12:32 -0700)
commit5de0bfffbc3e32ca3574987a350b984d4a899f2e
tree950362ae28a43b1441d70112bec2db2ef98ed95f
parentc5c0f452f5d123db7a78b46f9f1734967243ad68
[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>
fetch.c