From: Jonathan Nieder Date: Wed, 08 Sep 2010 03:57:32 GMT Subject: Re: [PATCH 6/3] fast-import: Allow cat requests at arbitrary points in stream Message-ID: <20100908035732.GA24444@capella.cs.uchicago.edu> In-Reply-To: Sverre Rabbelier wrote: > On Tue, Sep 7, 2010 at 22:27, Jonathan Nieder wrote: >> 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.