Re: [PATCH] Extend cat-file to take multiple arguments or read input from stdin.

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

 



Johannes Schindelin escreveu:
> Hi,
> 
> On Thu, 15 Nov 2007, Han-Wen Nienhuys wrote:
> 
>> With this functionality, the entire object database can be dumped with a 
>> limited number of processes: two cat-file processes for discovering size 
>> and type, and one cat-file process per type.
> 
> IMHO a better idea would be a counterpart to fast-import, probably called 
> "fast-export".  You'd need only one process then, and it would not only be 
> faster, but would be usable by even more people, I guess.

I know, and that's what I was thinking. However, I was hoping someone else 
would pick up the hint :-)

I suppose fast-export would just be cat-file with a different name and  
slightly saner interface.  How about

  type <sha1> <newline>
  size <sha1> <newline>
  dump <type> <sha1> <newline>

?

-- 
 Han-Wen Nienhuys - hanwen@xxxxxxxxx - http://www.xs4all.nl/~hanwen

-
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]

  Powered by Linux