# BUG Report: v12.0.0 "git difftool -d" fails with "fatal: cannot create directory at '': No such file or directory"

2 messages from 2017-03-02 to 2017-03-02. Participants: Mark Phillips, Johannes Schindelin.
Thread: https://gitlist.dev/t/45263

## Mark Phillips, 2017-03-02 10:55

Subject: BUG Report: v12.0.0 "git difftool -d" fails with "fatal: cannot create directory at '': No such file or directory"
Message-ID: <f2a8495f22854a749e615fb642d5655d@CAMSVWEXC02.scsc.local>
URL: https://gitlist.dev/e/f2a8495f22854a749e615fb642d5655d%40CAMSVWEXC02.scsc.local
In-Reply-To: <CGME20170302105511eucas1p2c40bbbb719c8fb15cc7a6cb9424a92e4@eucas1p2.samsung.com>

```
I am building git from source using gcc 4.8.5 on 64 bit linux.

I am sorry the log info is not very helpful, please tell me how to get more information about what is going wrong and I will collect the info for you!


V2.12.0 Broken log
==============

Export GIT_TRACE=1
git difftool -d HEAD~ 
09:11:27.797674 git.c:371               trace: built-in: git 'difftool' '-d' 'HEAD~'
09:11:27.798255 run-command.c:369       trace: run_command: 'diff' '--raw' '--no-abbrev' '-z' 'HEAD~'
09:11:27.798484 exec_cmd.c:118          trace: exec: 'git' 'diff' '--raw' '--no-abbrev' '-z' 'HEAD~'
09:11:27.800156 git.c:371               trace: built-in: git 'diff' '--raw' '--no-abbrev' '-z' 'HEAD~'
fatal: cannot create directory at '': No such file or directory
	

Running make check gives
fixed   0
success 14475
failed  0
broken  184
total   14804


Also broken in v2.12.0-rc0, v2.12.0-rc1 and v2.12.0-rc2
-----------------------------------------------------------------

V 2.11.1 works
===========


```

## Johannes Schindelin, 2017-03-02 14:26

Subject: Re: BUG Report: v12.0.0 "git difftool -d" fails with "fatal: cannot create directory at '': No such file or directory"
Message-ID: <alpine.DEB.2.20.1703021523360.3767@virtualbox>
URL: https://gitlist.dev/e/alpine.DEB.2.20.1703021523360.3767%40virtualbox
In-Reply-To: <f2a8495f22854a749e615fb642d5655d@CAMSVWEXC02.scsc.local>

```
Hi Mark,

On Thu, 2 Mar 2017, Mark Phillips wrote:

> I am building git from source using gcc 4.8.5 on 64 bit linux.
> 
> I am sorry the log info is not very helpful, please tell me how to get
> more information about what is going wrong and I will collect the info
> for you!

Well, you could provide a Minimal, Complete and Verifiable Example
(http://stackoverflow.com/help/mcve): most likely, the error depends on
particular features of your current HEAD, or environment variables.
Because i do *not* get that error if I run `git difftool -d HEAD~`.

So it is not so much about collecting info as about distilling your use
case into an example that allows other developers to reproduce the
problem, and subsequently fix it.

Ciao,
Johannes

```
