lists.zerezo.com
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Git Gui does not want to work on chunk level
- Date: Thu, 04 Sep 2008 22:18:38 -0700
- From: Junio C Hamano <gitster@xxxxxxxxx>
- Subject: Re: Git Gui does not want to work on chunk level
"Shawn O. Pearce" <spearce@xxxxxxxxxxx> 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.
> 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.
--
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