interplane.Get Omega
Read in your language

git

[Ported from github.com/git/git] Sync with Git 2.56.1

Brought by drakestapleton

branch master Branches Tags History

git / t / perf / p4205-log-pretty-formats.sh

16 lines · 280 bytes Raw Blame History
1#!/bin/sh
2
3test_description='Tests the performance of various pretty format placeholders'
4
5. ./perf-lib.sh
6
7test_perf_default_repo
8
9for format in %H %h %T %t %P %p %h-%h-%h %an-%ae-%s
10do
11 test_perf "log with $format" "
12 git log --format=\"$format\" >/dev/null
13 "
14done
15
16test_done