git-diff between /dev/null and blob

From: Jakub Narebski <jnareb@gmail.com>
Date: 2006-07-31 11:07:51
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


-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Mon Jul 31 11:19:27 2006

This archive was generated by hypermail 2.1.8 : 2006-07-31 11:21:28 EST