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

[TIG PATCH] test: make diff/log work with git 2.9

From
Michael J Gruber <git@drmicha.warpmail.net>
Date
Jun 14, 2016, 08:34 UTC
Message-ID
<8f70b88987a2c69252c939a17c3cd474fe69d66b.1465893112.git.git@drmicha.warpmail.net>
git 2.9.0 switches the default for diff.renames to true.

Set this to false in config so that the test suite runs unmodified for old and new git.

Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
---
 test/tools/libgit.sh | 1 +
 1 file changed, 1 insertion(+)
diff --git a/test/tools/libgit.sh b/test/tools/libgit.sh
index 6a8aa54..0bce451 100644
--- a/test/tools/libgit.sh
+++ b/test/tools/libgit.sh
@@ -33,6 +33,7 @@ git_config()
 {
 	git config --local user.name "Committer"
 	git config --local user.email "c.ommitter@example.net"
+	git config --local diff.renames false
 }
 
 git_init()
-- 
2.9.0.382.g87fd384
Next: Jonas Fonseca
Message 1 of 2 in “test: make diff/log work with git 2.9”
  1. test: make diff/log work with git 2.9Michael J Gruber, Jun 14, 2016
  2. Jonas FonsecaAug 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.