Git diffftool problem: unable to create temporary file

I am using git with a Kaleidoscope configured as diffftool. It works great for months. He worked a day or two ago. Today, when I tried to do "git diffftool", suddenly git reports

fatal: unable to create temp-file: No such file or directory

A google search suggested that this might be a directory resolution issue in the local git repository. But the situation has not improved even after the recursive chown in the git repository.

Documentation

Git -difftool does not mention where it might try to create this temporary file. Does anyone have any ideas on how to figure this out?

+5
source share
1 answer

As I already noted, such a message usually depends on the value of the environment variable $TMPDIR.

In the case of OP:

$TMPDIR - "/private/tmp/PKInstallSandbox.W1I4ev/tmp".
, -, (TotalTerminal).
, , -.

$TMPDIR "" (, /tmp

+6

All Articles