author | Sergey Vlasov <vsu@altlinux.ru> | |
Wed, 21 Sep 2005 16:33:54 +0000 (20:33 +0400) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Wed, 21 Sep 2005 19:32:31 +0000 (12:32 -0700) | ||
commit | e8d2a6d483a6f556a509fc8debdb9391a5fa2630 | |
tree | 05b9b35c08b304cc00d2e4486749533899373b77 | tree | snapshot |
parent | 0493a3fd5204a36bc961a8611770ddb9ec1ed8ed | commit | diff |
[PATCH] fetch.c: Remove useless lookup_object_type() call in process()
In all places where process() is called except the one in pull() (which
is executed only once) the pointer to the object is already available,
so pass it as the argument to process() instead of sha1 and avoid an
unneeded call to lookup_object_type().
Signed-off-by: Sergey Vlasov <vsu@altlinux.ru>
Signed-off-by: Junio C Hamano <junkio@cox.net>
In all places where process() is called except the one in pull() (which
is executed only once) the pointer to the object is already available,
so pass it as the argument to process() instead of sha1 and avoid an
unneeded call to lookup_object_type().
Signed-off-by: Sergey Vlasov <vsu@altlinux.ru>
Signed-off-by: Junio C Hamano <junkio@cox.net>
fetch.c | diff | blob | history |