Re: [PATCH v2 1/1] status: be prepared for not-yet-started interactive rebase

2017-01-27 Thread Johannes Schindelin
Hi Stefan, On Thu, 26 Jan 2017, Stefan Beller wrote: > On Thu, Jan 26, 2017 at 8:08 AM, Johannes Schindelin > wrote: > > - if (!f) > > + if (!f) { > > + if (errno == ENOENT) > > + return -1; > > die_errno("Could not open file %s for

Re: [PATCH v2 1/1] status: be prepared for not-yet-started interactive rebase

2017-01-26 Thread Stefan Beller
On Thu, Jan 26, 2017 at 8:08 AM, Johannes Schindelin wrote: > Some developers might want to call `git status` in a working > directory where they just started an interactive rebase, but the > edit script is still opened in the editor. > > Let's show a meaningful message in such cases. > > Signed-o

Re: [PATCH v2 1/1] status: be prepared for not-yet-started interactive rebase

2017-01-26 Thread Matthieu Moy
Johannes Schindelin writes: > Some developers might want to call `git status` in a working > directory where they just started an interactive rebase, but the > edit script is still opened in the editor. > > Let's show a meaningful message in such cases. > > Signed-off-by: Johannes Schindelin > -

[PATCH v2 1/1] status: be prepared for not-yet-started interactive rebase

2017-01-26 Thread Johannes Schindelin
Some developers might want to call `git status` in a working directory where they just started an interactive rebase, but the edit script is still opened in the editor. Let's show a meaningful message in such cases. Signed-off-by: Johannes Schindelin --- t/t7512-status-help.sh | 19