Re: [PATCH 2/2 (for GIT-GUI)] git-gui: MERGE_RR lives in .git/ directly with newer Git versions
- From
Shawn O. Pearce <spearce@spearce.org>
- Date
- Jul 13, 2008, 01:16 UTC
- Message-ID
- <20080713011623.GC31050@spearce.org>
- In-Reply-To
- <alpine.DEB.1.00.0807121556480.8950@racer>
Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:
Show 7 quoted lines
> > Now that MERGE_RR was moved out of .git/rr-cache/, we have to delete > it somewhere else. Just in case somebody wants to use a newer git-gui > with an older Git, the file .git/rr-cache/MERGE_RR is removed, too (if > it exists). > > Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Ack, I can pull this into git-gui.git. But I want to make sure Junio is going to take 1/2 into git.git.
Show 16 quoted lines
> git-gui/lib/merge.tcl | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/lib/merge.tcl b/lib/merge.tcl
> index cc26b07..5c01875 100644
> --- a/lib/merge.tcl
> +++ b/lib/merge.tcl
> @@ -257,6 +257,7 @@ proc _reset_wait {fd} {
>
> catch {file delete [gitdir MERGE_HEAD]}
> catch {file delete [gitdir rr-cache MERGE_RR]}
> + catch {file delete [gitdir MERGE_RR]}
> catch {file delete [gitdir SQUASH_MSG]}
> catch {file delete [gitdir MERGE_MSG]}
> catch {file delete [gitdir GITGUI_MSG]}
> -- -- Shawn.