summaryrefslogtreecommitdiffstats
path: root/t/perf/p4205-log-pretty-formats.sh
blob: 609fecd65d5c7efde0373b93c29ea62f0eb36a36 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

test_description='Tests the performance of various pretty format placeholders'

. ./perf-lib.sh

test_perf_default_repo

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
	"
done

test_done