Re: [PATCH 2/7] fast-import: Let importers retrieve the objects being written
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Oct 13, 2010, 00:07 UTC
- Message-ID
- <20101013000741.GK15587@burratino>
- In-Reply-To
- <AANLkTi=MWyK=_7jK7B_0+GD4fWJcyjk7n+zAP2eKKw2H@mail.gmail.com>
Sverre Rabbelier wrote:
> On Wed, Oct 13, 2010 at 00:38, Jonathan Nieder <jrnieder@gmail.com> wrote:
Show 8 quoted lines
>> At any rate, that is not needed for the current version of svn-fe, >> is it? So maybe it would make sense to strip down the patch to just >> allow >> >> cat <blob> > > Do we want some sort of type indicator to make it easier to extend? So > "cat blob <blob>"?
I'm not convinced it's needed. cat-file does that to allow peeling references:
git cat-file tree v1.7.1 vs git cat-file tag v1.7.1
But the "cat" name might be too valuable namespace to reserve for only this. I have no strong preference either way. Maybe the command should be named "cat-blob".