author | Linus Torvalds <torvalds@linux-foundation.org> | |
Thu, 23 Jul 2009 19:05:34 +0000 (12:05 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 24 Jul 2009 04:56:04 +0000 (21:56 -0700) | ||
commit | 191d1ac435c01e2a7acfb93fb9da8378da90214c | |
tree | fe728f812521a02819a1d6db20bac56aa7ebc94f | tree | snapshot |
parent | e6e4a47ba12bd19ed956251f191b1ea9915f61f8 | commit | diff |
git branch: avoid unnecessary object lookups
They can be expensive in the cold-cache case, so don't bother looking up
the commits for all branches unless we really need them for some reason.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
They can be expensive in the cold-cache case, so don't bother looking up
the commits for all branches unless we really need them for some reason.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-branch.c | diff | blob | history |