Re: Git Gui does not want to work on chunk level
Alexander Gladysh <agladysh-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
Show 7 quoted lines
> On Fri, Sep 5, 2008 at 8:53 AM, Shawn O. Pearce <spearce-o8xcbExO1WpAfugRpC6u6w@public.gmane.org> wrote:
>
> > git-gui: Fix diff parsing for lines starting with "--" or "++"
>
> Somewhat related bug, but reproduceable event without "--". If I set
> diff context to none in git gui (by repeatedly clicking "show less
> context") I'm sometimes not able to stage hunk or line.
git-apply refuses to apply a patch with 0 context lines. Latest
git-gui in maint (and in Git 1.6.0.2?) won't let you reduce the
number of context lines below 1, so you never can see this error.
Show 5 quoted lines
> Reduce context to none, then do stage hunk. It fails with message:
>
> error: patch failed: file.ext:3
> error: file.ext: patch does not apply
> OK
--
Shawn.