Re: [PATCH 01/13] fast-import: add the 'done' command
- From
Sverre Rabbelier <srabbelier@gmail.com>
- Date
- Aug 29, 2010, 21:28 UTC
- Message-ID
- <AANLkTik_kPy8p-OTy8E7fcLFMfKFHex2ppw4Oy7BesUX@mail.gmail.com>
- In-Reply-To
- <20100829212419.GC1890@burratino>
Heya,
On Sun, Aug 29, 2010 at 16:24, Jonathan Nieder <jrnieder@gmail.com> wrote:
> It is tempting to make the 'done' command mandatory when the "done" > feature is used, to prevent confusion from streams that are cut off > early. What do frontends currently do to handle that?
If the stream ends with an EOF at the end of a command, they would act as if that was the end of the stream. If it ends mid-stream (e.g., while parsing a 'commit'), they would error out.
-- Cheers, Sverre Rabbelier