Skip to contentSkip to conversation

t0021: minor filter process test cleanup

PATCH New [email protected] 1 participant 1 message Dec 4, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 t0021: minor filter process test cleanup

From: Lars Schneider <[email protected]>

Remove superfluous .gitignore pattern and invalid '.' in git commit calls.

---

Notes:

    Base Commit: 454cb6b (v2.11.0)
    Diff on Web: https://git.io/test_ls_filter-process_cleanup-test-v1.diff
    Checkout:    git fetch https://github.com/larsxschneider/git filter-process/cleanup-test-v1 && git checkout c052a3d
 t/t0021-conversion.sh | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
t/t0021-conversion.sh +2 -3
index 4ea534e9fa..34891c4b1a 100755
@@ -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
Signature · 1 line
2.11.0