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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sverre Rabbelier wrote:
> On Fri, Jul 2, 2010 at 07:12, Jonathan Nieder <jrnieder@xxxxxxxxx> wrote:

>> 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.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]