[git-users] Re: Git Gui does not want to work on chunk level

2008-09-04 Thread Alexander Gladysh
On Thu, Sep 4, 2008 at 3:08 AM, Shawn O. Pearce <[EMAIL PROTECTED]> wrote: > Alexander Gladysh <[EMAIL PROTECTED]> wrote: >> On Wed, Aug 27, 2008 at 1:16 PM, Alexander Gladysh <[EMAIL PROTECTED]> wrote: >> > I like 'stage hunk for commit' feature in Git Gui, but often it gives >> > me an error mes

[git-users] Re: Git Gui does not want to work on chunk level

2008-09-04 Thread Alexander Gladysh
(Shawn, apologies for double-posting.) > Actually the header you sent me privately wasn't well formed. > It looked something like this: > > diff --git a/path/file.ext b/path/file.ext > --- a/path/file.ext > +++ b/path/file.ext > --- assert(a != b) > --- assert(a != c) > @@ -10,1 +10,2 @@ >

[git-users] Re: Git Gui does not want to work on chunk level

2008-09-04 Thread Shawn O. Pearce
Junio C Hamano <[EMAIL PROTECTED]> wrote: > "Shawn O. Pearce" <[EMAIL PROTECTED]> writes: > > > git-gui was incorrectly parsing "--- foo" as the old file name > > in the file header, causing it to generate a bad patch file when > > the user tried to stage or unstage a hunk or the selected line. >