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

[PATCH] t0003-attributes.sh: Don't overwrite t/.gitattributes

From
Ramsay Jones <ramsay@ramsay1.demon.co.uk>
Date
Oct 13, 2012, 17:44 UTC
Message-ID
<5079A881.7010802@ramsay1.demon.co.uk>
Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
---
Hi Junio,

This test in the current pu branch (commit bb0e6bf "Merge branch 'aw/rebase-am-failure-detection' into pu", 11-10-2012) overwrites the contents of t/.gitattributes. Note that the merge of the two branches 'nd/wildmatch' and 'nd/attr-match-optim-more' both add new tests at the end, and *both* sets initially 'cd ..' ...

ATB, Ramsay Jones

 t/t0003-attributes.sh | 1 -
 1 file changed, 1 deletion(-)
diff --git a/t/t0003-attributes.sh b/t/t0003-attributes.sh
index 7ed288f..fe80af7 100755
--- a/t/t0003-attributes.sh
+++ b/t/t0003-attributes.sh
@@ -247,7 +247,6 @@ test_expect_success 'patterns starting with exclamation' '
 '
 
 test_expect_success '"**" test' '
-	cd .. &&
 	echo "**/f foo=bar" >.gitattributes &&
 	cat <<\EOF >expect &&
 f: foo: bar
-- 
1.7.12
Next: Nguyen Thai Ngoc Duy
Message 1 of 2 in “t0003-attributes.sh: Don't overwrite t/.gitattributes”
  1. t0003-attributes.sh: Don't overwrite t/.gitattributesRamsay Jones, Oct 13, 2012
  2. Nguyen Thai Ngoc DuyOct 14, 2012

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.