git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH v1] t0021: minor filter process test cleanup

From
larsxschneider@gmail.com <larsxschneider@gmail.com>
Date
Dec 4, 2016, 13:37 UTC
Message-ID
<20161204133731.24852-1-larsxschneider@gmail.com>
From: Lars Schneider <larsxschneider@gmail.com>

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

Signed-off-by: Lars Schneider <larsxschneider@gmail.com>
---
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(-)
diff --git a/t/t0021-conversion.sh b/t/t0021-conversion.sh
index 4ea534e9fa..34891c4b1a 100755
--- a/t/t0021-conversion.sh
+++ b/t/t0021-conversion.sh
@@ -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
-- 
2.11.0
Message 1 of 1 in “t0021: minor filter process test cleanup”
  1. t0021: minor filter process test cleanuplarsxschneider@gmail.com, Dec 4, 2016

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.