All of lore.kernel.org
 help / color / mirror / Atom feed
* External tool is ignored when using difftool with --no-index
@ 2019-02-13 18:50 Sylvain Lacaze
  2019-02-13 20:11 ` [PATCH] diff: reuse diff setup for --no-index case Jeff King
  0 siblings, 1 reply; 6+ messages in thread
From: Sylvain Lacaze @ 2019-02-13 18:50 UTC (permalink / raw)
  To: git

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-02-24 15:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-13 18:50 External tool is ignored when using difftool with --no-index Sylvain Lacaze
2019-02-13 20:11 ` [PATCH] diff: reuse diff setup for --no-index case Jeff King
2019-02-14 19:47   ` Junio C Hamano
2019-02-16  6:57     ` Jeff King
2019-02-24  9:45       ` Jeff King
2019-02-24 15:24         ` Junio C Hamano

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.