threads / bug / 45263

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

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

## tl;dr

2 messages between Mar 2, 2017 and Mar 2, 2017.

replies: 1people: 2as markdown or json

Mark Phillips· Mar 2, 2017, 10:55 UTC · lore
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· Mar 2, 2017, 14:26 UTC · re: Mark Phillips · lore

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

Hi Mark,
On Thu, 2 Mar 2017, Mark Phillips wrote:
Show 5 quoted lines
> 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

← back to recent threads