summaryrefslogtreecommitdiff
path: root/t/perf
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2021-02-10 14:48:33 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-02-10 14:48:33 -0800
commit938ecaa42f1be47b9bcaa947ecd6b04f9c1dc3db (patch)
tree21b5a0cbf682fe400326782afbd0fd0edafb94fa /t/perf
parentMerge branch 'ds/more-index-cleanups' (diff)
parentpretty: lazy-load commit data when expanding user-format (diff)
downloadtgif-938ecaa42f1be47b9bcaa947ecd6b04f9c1dc3db.tar.xz
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-xt/perf/p4205-log-pretty-formats.sh2
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