summaryrefslogtreecommitdiff
path: root/t/perf/p0001-rev-list.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/perf/p0001-rev-list.sh')
-rwxr-xr-xt/perf/p0001-rev-list.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/perf/p0001-rev-list.sh b/t/perf/p0001-rev-list.sh
index 16359d5..ebf1724 100755
--- a/t/perf/p0001-rev-list.sh
+++ b/t/perf/p0001-rev-list.sh
@@ -15,7 +15,8 @@ test_perf 'rev-list --all --objects' '
'
test_expect_success 'create new unreferenced commit' '
- commit=$(git commit-tree HEAD^{tree} -p HEAD)
+ commit=$(git commit-tree HEAD^{tree} -p HEAD) &&
+ test_export commit
'
test_perf 'rev-list $commit --not --all' '