summaryrefslogtreecommitdiff
path: root/t/perf/p7000-filter-branch.sh
diff options
context:
space:
mode:
authorDevin J. Pohly <djpohly@gmail.com>2017-02-23 08:27:36 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-03-03 20:43:37 (GMT)
commit32da7467ebc099e6032590773827884b704980cf (patch)
treeca04244b36bcf5bfb5c0180819d4a24bab8e73c6 /t/perf/p7000-filter-branch.sh
parenta582a82d2444b627260a764c17d3137d9d255531 (diff)
downloadgit-32da7467ebc099e6032590773827884b704980cf.zip
git-32da7467ebc099e6032590773827884b704980cf.tar.gz
git-32da7467ebc099e6032590773827884b704980cf.tar.bz2
p7000: add test for filter-branch with --prune-empty
Signed-off-by: Devin J. Pohly <djpohly@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/perf/p7000-filter-branch.sh')
-rwxr-xr-xt/perf/p7000-filter-branch.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/t/perf/p7000-filter-branch.sh b/t/perf/p7000-filter-branch.sh
index 15ee5d1..b029586 100755
--- a/t/perf/p7000-filter-branch.sh
+++ b/t/perf/p7000-filter-branch.sh
@@ -16,4 +16,9 @@ test_perf 'noop filter' '
git filter-branch -f base..HEAD
'
+test_perf 'noop prune-empty' '
+ git checkout --detach tip &&
+ git filter-branch -f --prune-empty base..HEAD
+'
+
test_done