Subject: Re: [WIP/PATCH] Teach fast-import to print the id of each imported commit

From: Jonathan Nieder <[email-masked]>
Date: Fri, 2 Jul 2010 00:12:01 -0500

Jonathan Nieder wrote:

> Should fast-import accept lines of the form
> 
>  M 100644 <commit id>:<path> <path>
> 
> and
> 
>  M 040000 <commit id>:<path> <path>
> 
> to allow the caller to use commits before they are accessible
> through the git object database?

A ‘cat’ command (suggested by David) would also be useful, so the
caller can read trees and blobs before they are accessible through
the object db.  The svn importer would use this when applying
(svndiff0-format) deltas to import changes to regular files.