Re: [WIP/PATCH] Teach fast-import to print the id of each imported commit
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Jul 2, 2010, 15:40 UTC
- Message-ID
- <20100702154028.GB2287@burratino>
- In-Reply-To
- <AANLkTintWyhcx9pURSqxs3e9BBkPx9KSPPYh4UOU7kv6@mail.gmail.com>
Sverre Rabbelier wrote:
> On Fri, Jul 2, 2010 at 07:12, Jonathan Nieder <jrnieder@gmail.com> wrote:
Show 7 quoted lines
>> 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. > > How would the output be delimited? The same way fast-import expects > its blob input?
Right. I was imagining something like
<blob hash> blob <size> ... content ... <blank line>
à la cat-file --batch. Hopefully by the end of this weekend, if no one else gets to it first.