author | Sergey Vlasov <vsu@altlinux.ru> | |
Wed, 21 Sep 2005 16:33:54 +0000 (20:33 +0400) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Fri, 23 Sep 2005 04:52:10 +0000 (21:52 -0700) | ||
commit | 80077f071614ef1775472eb54d59c071e15d5784 | |
tree | fe801ad6c55995e978cdebf80ba88b6ba42c6b4a | tree | snapshot |
parent | bc7ccfd2d7342bf81d344c4215a17ebbb64d9212 | 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 |