diff options
author | Sergey Vlasov <vsu@altlinux.ru> | 2005-09-21 20:33:54 +0400 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-09-22 21:52:10 -0700 |
commit | 80077f071614ef1775472eb54d59c071e15d5784 (patch) | |
tree | fe801ad6c55995e978cdebf80ba88b6ba42c6b4a /checkout-index.c | |
parent | bc7ccfd2d7342bf81d344c4215a17ebbb64d9212 (diff) | |
download | git-80077f071614ef1775472eb54d59c071e15d5784.tar.gz git-80077f071614ef1775472eb54d59c071e15d5784.tar.xz |
[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>
Diffstat (limited to 'checkout-index.c')
0 files changed, 0 insertions, 0 deletions