# rerere: how to remove an erroneous resolution?

3 messages from 2009-01-26 to 2009-01-26. Participants: SZEDER Gábor, Jeff King.
Thread: https://gitlist.dev/t/17373

## SZEDER Gábor, 2009-01-26 14:42

Subject: rerere: how to remove an erroneous resolution?
Message-ID: <20090126144239.GA494@neumann>
URL: https://gitlist.dev/e/20090126144239.GA494%40neumann

```
Hi,

some time ago I mistakenly resolved a merge conflict incorrectly.  Of
course, rerere noted the erroneous conflict resolution, and whenever
the same merge conflict occurs rerere offers me that erroneous
conflict resolution, even though I correct it each time.

So, the question is how could I make rerere forget that particular
merge conflict resolution?  Is it at all possible?


Thanks,
Gábor

```

## SZEDER Gábor, 2009-01-26 15:13

Subject: Re: rerere: how to remove an erroneous resolution?
Message-ID: <20090126151326.GA2618@neumann>
URL: https://gitlist.dev/e/20090126151326.GA2618%40neumann
In-Reply-To: <20090126144239.GA494@neumann>

```
On Mon, Jan 26, 2009 at 03:42:39PM +0100, SZEDER Gábor wrote:
> some time ago I mistakenly resolved a merge conflict incorrectly.  Of
> course, rerere noted the erroneous conflict resolution, and whenever
> the same merge conflict occurs rerere offers me that erroneous
> conflict resolution, even though I correct it each time.
> 
> So, the question is how could I make rerere forget that particular
> merge conflict resolution?  Is it at all possible?

Ok, I should have investigated a little longer before sending that
email.

I thought that .git/rr-cache contains some kind of sha1-named objects,
and did not realize that those are indeed directories with just
plaintext pre- and postimage files in it.  So, after some grepping I
could identify the sought conflict resolution fairly easily, and
correct it.

Best,
Gábor

```

## Jeff King, 2009-01-26 21:11

Subject: Re: rerere: how to remove an erroneous resolution?
Message-ID: <20090126211140.GA28354@coredump.intra.peff.net>
URL: https://gitlist.dev/e/20090126211140.GA28354%40coredump.intra.peff.net
In-Reply-To: <20090126151326.GA2618@neumann>

```
On Mon, Jan 26, 2009 at 04:13:26PM +0100, SZEDER Gábor wrote:

> On Mon, Jan 26, 2009 at 03:42:39PM +0100, SZEDER Gábor wrote:
> > some time ago I mistakenly resolved a merge conflict incorrectly.  Of
> > course, rerere noted the erroneous conflict resolution, and whenever
> > the same merge conflict occurs rerere offers me that erroneous
> > conflict resolution, even though I correct it each time.
> > 
> > So, the question is how could I make rerere forget that particular
> > merge conflict resolution?  Is it at all possible?
> 
> Ok, I should have investigated a little longer before sending that
> email.

Hmm. I have never actually used rerere in a real setting, so I am
somewhat clueless. But from your description, it sounds like it would
make sense for it to update the resolution to the latest one used. If
you changed it, it was probably to correct it; you would have no need to
make a change to break an already-working resolution.

Then you would not have had to go mucking about in .git.

-Peff

```
