Re: [PATCH 6/3] fast-import: Allow cat requests at arbitrary points in stream
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Sep 8, 2010, 03:57 UTC
- Message-ID
- <20100908035732.GA24444@capella.cs.uchicago.edu>
- In-Reply-To
- <AANLkTinU6TtFgLuQf54aZNE7-E3fDYLcmp25uiGRFgrV@mail.gmail.com>
Sverre Rabbelier wrote:
> On Tue, Sep 7, 2010 at 22:27, Jonathan Nieder <jrnieder@gmail.com> wrote:
Show 7 quoted lines
>> Rather than planning in advance and saving up a bunch of objects >> before a "commit" command, frontends might want to wait until the >> middle of a commit and request objects then. > > I'm not sure I understand the justification of this patch. Is the > purpose of this patch to save you from having to loop over everything > you want to commit in the next commit and cat-ing that in advance?
Yes. In particular, an importer that wants to apply deltas to generate the content for
M 100644 inline foo
commands might use this.
Probably not relevant for svn-fe in its current design, since it uses blob commands and remembers the tree as it builds it up.