Re: Git Gui does not want to work on chunk level
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Sep 5, 2008, 05:18 UTC
- Message-ID
- <7v63pbyxu9.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <20080905045327.GA31166@spearce.org>
"Shawn O. Pearce" <spearce@spearce.org> writes:
Show 5 quoted lines
> 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. > We need to keep track of where we are in the parsing so that we do > not misread a deletion or addition record as part of the header.
While keeping track of state is obviously a good change, it also might be worth noticing "@@ -k,l +m,n @@" header and actively using the information.