diff options
author | Junio C Hamano <gitster@pobox.com> | 2021-02-11 01:48:33 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-02-11 01:48:33 +0300 |
commit | 938ecaa42f1be47b9bcaa947ecd6b04f9c1dc3db (patch) | |
tree | 21b5a0cbf682fe400326782afbd0fd0edafb94fa /t/perf | |
parent | 2f794620f5dda37405e4ba9b606061468eceed98 (diff) | |
parent | 018b9deba5c4971f321f2158e3a6308f479bfee3 (diff) |
Merge branch 'jk/pretty-lazy-load-commit'
Some pretty-format specifiers do not need the data in commit object
(e.g. "%H"), but we were over-eager to load and parse it, which has
been made even lazier.
* jk/pretty-lazy-load-commit:
pretty: lazy-load commit data when expanding user-format
Diffstat (limited to 't/perf')
-rwxr-xr-x | t/perf/p4205-log-pretty-formats.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/perf/p4205-log-pretty-formats.sh b/t/perf/p4205-log-pretty-formats.sh index 7c26f4f337..609fecd65d 100755 --- a/t/perf/p4205-log-pretty-formats.sh +++ b/t/perf/p4205-log-pretty-formats.sh @@ -6,7 +6,7 @@ test_description='Tests the performance of various pretty format placeholders' test_perf_default_repo -for format in %H %h %T %t %P %p %h-%h-%h +for format in %H %h %T %t %P %p %h-%h-%h %an-%ae-%s do test_perf "log with $format" " git log --format=\"$format\" >/dev/null |