Re: [PATCH 1/1] git-gui: fix hunk parsing for corner case changes
- From
Bert Wesarg <bert.wesarg@googlemail.com>
- Date
- Jan 14, 2012, 05:25 UTC
- Message-ID
- <CAKPyHN3dp_t+hVsX_dBB8OnU=oM2t1DsdKFDghD7L9qAEtYgfg@mail.gmail.com>
- In-Reply-To
- <cccd6193cf3bfe170e14270204d735a842bb8563.1326116492.git.bert.wesarg@googlemail.com>
Hi Pat,
On Mon, Jan 9, 2012 at 14:43, Bert Wesarg <bert.wesarg@googlemail.com> wrote:
Show 24 quoted lines
> The simple hunk parsing code did not recognize hunks when there is no > second number after the comma. Like in these cases: > > @@ -1 +0,0 @@ > -1 > > Which resulted in this hunk header: > > @@ -1 +0,1 +1 +0,0 @@ > > Or: > > @@ -1 +1 @@ > -1 > +2 > > Resulted in: > > @@ -1 +1 @@ > ,1 +1 +1 @@ > ,0 @@ > > While trying to stage only the '-1' line. >
could you please consider pushing this into the 1.7.9 release. I see no point in waiting for the next release.
Thanks.
Bert