Re: [PATCH 1/1] git-gui: fix hunk parsing for corner case changes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Pat,

On Mon, Jan 9, 2012 at 14:43, Bert Wesarg <bert.wesarg@xxxxxxxxxxxxxx> wrote:
> 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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]