Re: commiting while the current version is in conflict
- From
Shawn O. Pearce <spearce@spearce.org>
- Date
- Oct 16, 2008, 23:23 UTC
- Message-ID
- <20081016232332.GD9877@spearce.org>
- In-Reply-To
- <2d460de70810161607n470e9479h8f7885040cbf5428@mail.gmail.com>
Richard Hartmann <richih.mailinglist@gmail.com> wrote:
Show 7 quoted lines
> On Fri, Oct 17, 2008 at 00:48, Miklos Vajna <vmiklos@frugalware.org> wrote: > > > Not sure, but in general blocking conflict markers by default would be a > > bad idea IMHO, several markup language (asciidoc, for example) makes use > > of the >>>, === and such character sequences. > > Doesn't git keep metadata about conflicts, as well?
Yes, in the index. But it erases it when you stage the file with "git add".
Go look at my prior message about how "git commit -a" is staging the files prior to commit. That makes git commit think everything has been resolved, because you've told git, everything is resolved.
-- Shawn.