git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Inconsistency in specifying commit & path for git diff
@ 2012-10-09 19:43 Arthur Etchells
  2012-10-09 20:37 ` Andreas Schwab
  2012-10-09 21:03 ` Junio C Hamano
  0 siblings, 2 replies; 3+ messages in thread
From: Arthur Etchells @ 2012-10-09 19:43 UTC (permalink / raw)
  To: git; +Cc: Arthur Etchells

git diff <commit>..<commit>
and
git diff <commit> <commit>
both succeed

however
git diff <commit>:<path>..<commit>:<path>
fails while
git diff <commit>:<path> <commit>:<path>
succeeds

OS X 10.7.5
git version 1.7.9.1

Reproduced by another user:
http://stackoverflow.com/questions/12805004/git-cherry-pick-creates-blobs-not-commits#comment17319876_12805004

It seems logical to support the '..' syntax in both for consistency.

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

end of thread, other threads:[~2012-10-09 21:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-09 19:43 Inconsistency in specifying commit & path for git diff Arthur Etchells
2012-10-09 20:37 ` Andreas Schwab
2012-10-09 21:03 ` Junio C Hamano

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).