External tool is ignored when using difftool with --no-index
- From
- Sylvain Lacaze <sylvain@lacaze.me>
- Date
- Feb 13, 2019, 18:50 UTC
- Message-ID
- <CAH1FtBpcZJ8V4B=RJ0SfC+kehpmpaBGafDzXvi8i33rc++jOUw@mail.gmail.com>
Hi,
I have “p4merge” setup as diff.tool and merge.tool, and it work great in normal operation (i.e., “p4merge” opens), e.g:
$: git difftool HEAD~3 somePath/someFile.m
However, when I use “—no-index” to compare 2 arbitrary file, difftool just uses diff:
$: git difftool --no-index somePath/someFile.m somePath/someOtherFile.m $: git difftool --no-index --tool=p4merge somePath/someFile.m somePath/someOtherFile.m
Both the above command just yield normal diff.
I’m using the latest GIT build:
$: git version git version 2.20.1.windows.1
Best,
Sylvain