Re: [PATCH 1/1] git gui: fix staging a second line to a 1-line file

2019-09-26 Thread Johannes Schindelin
Hi, On Fri, 27 Sep 2019, Pratyush Yadav wrote: > On 26/09/19 08:25PM, Bert Wesarg wrote: > > On Thu, Sep 26, 2019 at 7:43 PM Johannes Schindelin via GitGitGadget > > wrote: > > > > > > From: Johannes Schindelin > > > > > > When a 1-line file is augmented by a second line, and the user tries to

Re: [PATCH 1/1] git gui: fix staging a second line to a 1-line file

2019-09-26 Thread Pratyush Yadav
On 26/09/19 08:25PM, Bert Wesarg wrote: > On Thu, Sep 26, 2019 at 7:43 PM Johannes Schindelin via GitGitGadget > wrote: > > > > From: Johannes Schindelin > > > > When a 1-line file is augmented by a second line, and the user tries to > > stage that single line via the "Stage Line" context menu it

Re: [PATCH 1/1] git gui: fix staging a second line to a 1-line file

2019-09-26 Thread Bert Wesarg
On Thu, Sep 26, 2019 at 7:43 PM Johannes Schindelin via GitGitGadget wrote: > > From: Johannes Schindelin > > When a 1-line file is augmented by a second line, and the user tries to > stage that single line via the "Stage Line" context menu item, we do not > want to see "apply: corrupt patch at l

[PATCH 1/1] git gui: fix staging a second line to a 1-line file

2019-09-26 Thread Johannes Schindelin via GitGitGadget
From: Johannes Schindelin When a 1-line file is augmented by a second line, and the user tries to stage that single line via the "Stage Line" context menu item, we do not want to see "apply: corrupt patch at line 5". The reason for this error was that the hunk header looks like this: @@