[PATCH v2 0/3] cherry-abbrev
- From
Erik Faye-Lund <kusmabite@googlemail.com>
- Date
- Mar 20, 2010, 18:55 UTC
- Message-ID
- <1269111329-5896-1-git-send-email-kusmabite@gmail.com>
This is the second round of ef/cherry-abbrev.
1/3 is the same as last round, but with the corrections suggested by René Scharfe.
2/3 isn't strictly needed, but it makes two call-sites for f_u_a more consistent with the others.
3/3 fixes the gains back the performance that was lost in 2/3:
Best of five runs of "git ls-tree v1.6.5" in a loop:
without 3/3: real 0m0.082s user 0m0.040s sys 0m0.036s
with 3/3: real 0m0.074s user 0m0.040s sys 0m0.040s
Erik Faye-Lund (3): cherry: support --abbrev option ls: remove redundant logic find_unique_abbrev: early out without a memcpy
builtin/log.c | 39 +++++++++++++++++++++------------------ builtin/ls-files.c | 7 ++----- builtin/ls-tree.c | 6 ++---- sha1_name.c | 4 ++-- 4 files changed, 27 insertions(+), 29 deletions(-)