t0021: minor filter process test cleanup
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>
Lars Schneider committed
Dec 4, 2016 at 14:37 UTC
9c48b4fb2343070353ee7c6271ff6aedc0462747
1 file changed
+2
-3
t/t0021-conversion.sh
+2
-3
@@ -350,10 +350,9 @@ test_expect_success PERL 'required process filter should filter data' '
350
cd repo &&
351
git init &&
352
353
- echo "git-stderr.log" >.gitignore &&
353
echo "*.r filter=protocol" >.gitattributes &&
354
git add . &&
356
- git commit . -m "test commit 1" &&
355
+ git commit -m "test commit 1" &&
356
git branch empty-branch &&
357
358
cp "$TEST_ROOT/test.o" test.r &&
@@ -378,7 +377,7 @@ test_expect_success PERL 'required process filter should filter data' '
377
EOF
378
test_cmp_count expected.log rot13-filter.log &&
379
381
- filter_git commit . -m "test commit 2" &&
380
+ filter_git commit -m "test commit 2" &&
381
cat >expected.log <<-EOF &&
382
START
383
init handshake complete