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

2 messages from 2016-06-16 to 2016-08-04. Participants: Michael J Gruber, Jonas Fonseca.
Thread: https://gitlist.dev/t/42601

## Michael J Gruber, 2016-06-14 08:34

Subject: [TIG PATCH] test: make diff/log work with git 2.9
Message-ID: <8f70b88987a2c69252c939a17c3cd474fe69d66b.1465893112.git.git@drmicha.warpmail.net>
URL: https://gitlist.dev/e/8f70b88987a2c69252c939a17c3cd474fe69d66b.1465893112.git.git%40drmicha.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

```

## Jonas Fonseca, 2016-08-04 03:48

Subject: Re: [TIG PATCH] test: make diff/log work with git 2.9
Message-ID: <CAFuPQ1LY=Td0qGZZuSFecRj_veN96LqBHymHYEaLVpWR0UBN_g@mail.gmail.com>
URL: https://gitlist.dev/e/CAFuPQ1LY%3DTd0qGZZuSFecRj_veN96LqBHymHYEaLVpWR0UBN_g%40mail.gmail.com
In-Reply-To: <8f70b88987a2c69252c939a17c3cd474fe69d66b.1465893112.git.git@drmicha.warpmail.net>

```
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

```
