git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [FEATURE-REQUEST] difftool --dir-diff: use the commit names as directory names instead of left/right
@ 2013-03-22 16:52 Christoph Anton Mitterer
  2013-03-23  4:56 ` David Aguilar
  0 siblings, 1 reply; 4+ messages in thread
From: Christoph Anton Mitterer @ 2013-03-22 16:52 UTC (permalink / raw)
  To: git

[-- Attachment #1: Type: text/plain, Size: 708 bytes --]

Hi.

Right now, when I use difftool --dir-diff, the temp dirs are creates as
e.g.:
/tmp/git-difftool.QqP8x/left
/tmp/git-difftool.QqP8x/right

Wouldn't it be nice, if instead of left/right... the specified commit
name would be used?

e.g.
/tmp/git-difftool.QqP8x/r1.1.1
/tmp/git-difftool.QqP8x/HEAD
or
/tmp/git-difftool.QqP8x/fd4e4005a4b7b3e638bc405be020b867f8881e72
/tmp/git-difftool.QqP8x/ce0747b74fccd20707b6f495068503e69e5473df

Cause then, one would see in the difftool which side is what, without
the need to remember how git difftool was invoked.


Of course one might probably need to escape the commit names if they
contain stuff like "/" or "..", etc.



Cheers,
Chris.

[-- Attachment #2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 5165 bytes --]

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

end of thread, other threads:[~2013-03-23 15:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-22 16:52 [FEATURE-REQUEST] difftool --dir-diff: use the commit names as directory names instead of left/right Christoph Anton Mitterer
2013-03-23  4:56 ` David Aguilar
2013-03-23 12:36   ` John Keeping
2013-03-23 15:30     ` Christoph Anton Mitterer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).