repo.or.cz
/
git.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
completion: correct zsh detection when run from git-completion.zsh
[git.git]
/
t
/
perf
/
p4205-log-pretty-formats.sh
blob
7c26f4f3378829329dc399e308e54e3eae946b35
1
#!/bin/sh
2
3
test_description
=
'Tests the performance of various pretty format placeholders'
4
5
. .
/
perf-lib.sh
6
7
test_perf_default_repo
8
9
for
format
in
%
H
%
h
%
T
%
t
%
P
%
p
%
h-
%
h-
%
h
10
do
11
test_perf
"log with
$format
"
"
12
git log --format=
\"
$format
\"
>/dev/null
13
"
14
done
15
16
test_done