git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git-diff between /dev/null and blob
@ 2006-07-31  1:07 Jakub Narebski
  2006-07-31  6:50 ` Junio C Hamano
  0 siblings, 1 reply; 5+ messages in thread
From: Jakub Narebski @ 2006-07-31  1:07 UTC (permalink / raw)
  To: git

Currently, due to artifact of git-diff argument parsing you can get diff 
of two arbitrary blobs given by their sha1 id, e.g.
  git diff ab8050ceb4e43522e858768cc2c02fcb91839370 fd05278808d458602587bb024a48726018d30926
but you cannot use git-diff to create diff between two files, or a file
and blob. 

In particular, I couldn't make "creation" patch, i.e. patch between 
/dev/null and specified blob. If it would be possible, we could lose
gitweb.cgi dependency on diff.

-- 
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git

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

end of thread, other threads:[~2006-08-07 12:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-31  1:07 git-diff between /dev/null and blob Jakub Narebski
2006-07-31  6:50 ` Junio C Hamano
2006-08-06 21:02   ` Jakub Narebski
2006-08-06 21:36     ` Junio C Hamano
2006-08-07 12:52       ` Jakub Narebski

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