git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Strange output of 'git diff <revision1>:<file> <revision2>:<file>'
@ 2006-07-15 10:20 Jakub Narebski
  2006-07-15 12:56 ` [PATCH] use the path as name from the revision:path syntax in setup_revisions Matthias Lederhofer
  2006-07-15 12:59 ` [PATCH] array index mixup Matthias Lederhofer
  0 siblings, 2 replies; 4+ messages in thread
From: Jakub Narebski @ 2006-07-15 10:20 UTC (permalink / raw)
  To: git

git diff output for files specified by revision is somewhat unexpected. 

  $ git diff <revision_1>:<file> <revision_2>:<file>

outputs the following diff metainfo

  diff --git a/<revision_2>:<file> b/<revision_2>:<file>
  index 5eabe06..2e87de4 100644
  --- a/<revision_2>:<file>
  +++ b/<revision_2>:<file>

Is it intended, or is it a bug? Looks like a bug to me...

git 1.4.0 (git-core-1.4.0-1.fc4 by Fedora Project).
-- 
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git

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

end of thread, other threads:[~2006-07-16  8:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-15 10:20 Strange output of 'git diff <revision1>:<file> <revision2>:<file>' Jakub Narebski
2006-07-15 12:56 ` [PATCH] use the path as name from the revision:path syntax in setup_revisions Matthias Lederhofer
2006-07-15 12:59 ` [PATCH] array index mixup Matthias Lederhofer
2006-07-16  8:50   ` 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).