diff options
author | Anders Kaseorg <andersk@MIT.EDU> | 2009-05-27 15:23:12 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-05-28 23:56:19 -0700 |
commit | b7dd2d20fad1036ce7da0b635a8bb14cd4230f1a (patch) | |
tree | 03de80ea12277743af573f4130192bbc6a4ff185 /ppc | |
parent | Prepare for 1.6.3.2 (diff) | |
download | tgif-b7dd2d20fad1036ce7da0b635a8bb14cd4230f1a.tar.xz |
for-each-ref: Do not lookup objects when they will not be used
This makes commands such as `git for-each-ref --format='%(refname)'`,
which are used heavily by the bash_completion code, run about 6 times
faster on an uncached repository (3 s intead of 18 s on my linux-2.6
repository with several remotes).
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'ppc')
0 files changed, 0 insertions, 0 deletions