summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2014-07-22 17:59:18 (GMT)
committerJunio C Hamano <gitster@pobox.com>2014-07-22 17:59:19 (GMT)
commit9f2de9c121c60cba9e55db5263a7bceffcd8fe2d (patch)
treeda422744914ae63ec7da372e6558c897e1792a04 /t
parent9ab08822556c49a7856dadd0e9a42f9ec2aaf850 (diff)
parentc7d3f8cb48d754371343c5a48cf392135bb4d77b (diff)
downloadgit-9f2de9c121c60cba9e55db5263a7bceffcd8fe2d.zip
git-9f2de9c121c60cba9e55db5263a7bceffcd8fe2d.tar.gz
git-9f2de9c121c60cba9e55db5263a7bceffcd8fe2d.tar.bz2
Merge branch 'kb/perf-trace'
* kb/perf-trace: api-trace.txt: add trace API documentation progress: simplify performance measurement by using getnanotime() wt-status: simplify performance measurement by using getnanotime() git: add performance tracing for git's main() function to debug scripts trace: add trace_performance facility to debug performance issues trace: add high resolution timer function to debug performance issues trace: add 'file:line' to all trace output trace: move code around, in preparation to file:line output trace: add current timestamp to all trace output trace: disable additional trace output for unit tests trace: add infrastructure to augment trace output with additional info sha1_file: change GIT_TRACE_PACK_ACCESS logging to use trace API Documentation/git.txt: improve documentation of 'GIT_TRACE*' variables trace: improve trace performance trace: remove redundant printf format attribute trace: consistently name the format parameter trace: move trace declarations from cache.h to new trace.h
Diffstat (limited to 't')
-rw-r--r--t/test-lib.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/t/test-lib.sh b/t/test-lib.sh
index a479537..b1bc65b 100644
--- a/t/test-lib.sh
+++ b/t/test-lib.sh
@@ -109,6 +109,10 @@ export GIT_AUTHOR_EMAIL GIT_AUTHOR_NAME
export GIT_COMMITTER_EMAIL GIT_COMMITTER_NAME
export EDITOR
+# Tests using GIT_TRACE typically don't want <timestamp> <file>:<line> output
+GIT_TRACE_BARE=1
+export GIT_TRACE_BARE
+
if test -n "${TEST_GIT_INDEX_VERSION:+isset}"
then
GIT_INDEX_VERSION="$TEST_GIT_INDEX_VERSION"