git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Han-Wen Nienhuys <hanwen@xs4all.nl>
To: git@vger.kernel.org
Subject: Re: [PATCH] Extend cat-file to take multiple arguments or read input from stdin.
Date: Thu, 15 Nov 2007 02:41:02 -0200	[thread overview]
Message-ID: <fhgitt$b8d$1@ger.gmane.org> (raw)
In-Reply-To: <Pine.LNX.4.64.0711150432420.4362@racer.site>

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@xs4all.nl - http://www.xs4all.nl/~hanwen

  reply	other threads:[~2007-11-15  4:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-15  4:22 [PATCH] Extend cat-file to take multiple arguments or read input from stdin Han-Wen Nienhuys
2007-11-15  4:34 ` Johannes Schindelin
2007-11-15  4:41   ` Han-Wen Nienhuys [this message]
2007-11-15  6:09     ` Junio C Hamano
2007-11-15 13:33       ` Han-Wen Nienhuys

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='fhgitt$b8d$1@ger.gmane.org' \
    --to=hanwen@xs4all.nl \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).