Re: [PATCH] add--interactive: leave main loop on read error

2014-12-15 Thread Junio C Hamano
Jeff King writes: > On Mon, Dec 15, 2014 at 03:41:45PM +0100, Benjamin Quorning wrote: > >> Reproduction steps: >> >> 1. A repository with a changed file, but no staged changes. >> 2. Execute `git checkout --patch` >> 3. When asked, press `e` to edit a chunk (opens an external editor in my >> c

[PATCH] add--interactive: leave main loop on read error

2014-12-15 Thread Jeff King
On Mon, Dec 15, 2014 at 03:41:45PM +0100, Benjamin Quorning wrote: > Reproduction steps: > > 1. A repository with a changed file, but no staged changes. > 2. Execute `git checkout --patch` > 3. When asked, press `e` to edit a chunk (opens an external editor in my case) > 4. With the editor still