t0021: minor filter process test cleanup
authorLars Schneider <larsxschneider@gmail.com>
Sun, 4 Dec 2016 13:37:31 +0000 (14:37 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 5 Dec 2016 22:59:03 +0000 (14:59 -0800)
Remove superfluous .gitignore pattern and invalid '.' in `git commit`
calls.

Signed-off-by: Lars Schneider <larsxschneider@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t0021-conversion.sh
index da1ad3e70ea140ecd5ac0741a146084ba518523f..35710c2707789a6b38ca8de344148f46d9789607 100755 (executable)
@@ -350,10 +350,9 @@ test_expect_success PERL 'required process filter should filter data' '
                cd repo &&
                git init &&
 
-               echo "git-stderr.log" >.gitignore &&
                echo "*.r filter=protocol" >.gitattributes &&
                git add . &&
-               git commit -m "test commit 1" &&
+               git commit -m "test commit 1" &&
                git branch empty-branch &&
 
                cp "$TEST_ROOT/test.o" test.r &&
@@ -378,7 +377,7 @@ test_expect_success PERL 'required process filter should filter data' '
                EOF
                test_cmp_count expected.log rot13-filter.log &&
 
-               filter_git commit -m "test commit 2" &&
+               filter_git commit -m "test commit 2" &&
                cat >expected.log <<-EOF &&
                        START
                        init handshake complete