OSDN Git Service

p7000: add test for filter-branch with --prune-empty
authorDevin J. Pohly <djpohly@gmail.com>
Thu, 23 Feb 2017 08:27:36 +0000 (02:27 -0600)
committerJunio C Hamano <gitster@pobox.com>
Fri, 3 Mar 2017 20:43:37 +0000 (12:43 -0800)
Signed-off-by: Devin J. Pohly <djpohly@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/perf/p7000-filter-branch.sh

index 15ee5d1..b029586 100755 (executable)
@@ -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