git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* [TIG PATCH] test: make diff/log work with git 2.9
@ 2016-06-14  8:34 Michael J Gruber
  2016-08-04  3:48 ` Jonas Fonseca
  0 siblings, 1 reply; 2+ messages in thread
From: Michael J Gruber @ 2016-06-14  8:34 UTC (permalink / raw)
  To: git; +Cc: Jonas Fonseca

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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [TIG PATCH] test: make diff/log work with git 2.9
  2016-06-14  8:34 [TIG PATCH] test: make diff/log work with git 2.9 Michael J Gruber
@ 2016-08-04  3:48 ` Jonas Fonseca
  0 siblings, 0 replies; 2+ messages in thread
From: Jonas Fonseca @ 2016-08-04  3:48 UTC (permalink / raw)
  To: Michael J Gruber; +Cc: Git

On Tue, Jun 14, 2016 at 4:34 AM, Michael J Gruber
<git@drmicha.warpmail.net> wrote:
> 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.

Thanks!

-- 
Jonas Fonseca

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-08-04  3:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-14  8:34 [TIG PATCH] test: make diff/log work with git 2.9 Michael J Gruber
2016-08-04  3:48 ` Jonas Fonseca

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).