summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDevin J. Pohly <djpohly@gmail.com>2017-02-23 02:27:36 -0600
committerJunio C Hamano <gitster@pobox.com>2017-03-03 12:43:37 -0800
commit32da7467ebc099e6032590773827884b704980cf (patch)
treeca04244b36bcf5bfb5c0180819d4a24bab8e73c6
parenta582a82d2444b627260a764c17d3137d9d255531 (diff)
downloadgit-dp/filter-branch-prune-empty.tar.gz
p7000: add test for filter-branch with --prune-emptydp/filter-branch-prune-empty
Signed-off-by: Devin J. Pohly <djpohly@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-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 15ee5d1d53..b029586ccb 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