git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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.
Previous: Johannes SchindelinNext: Junio C Hamano
Message 4 of 5 in “git-new-workdir should not share .git/rr-cache/MERGE_RR”
  1. Kalle Olavi NiemitaloJul 12, 2008
  2. 1/2 Move MERGE_RR from .git/rr-cache/ into .git/Johannes Schindelin, Jul 12, 2008
  3. 2/2 git-gui: MERGE_RR lives in .git/ directly with newer Git versionsJohannes Schindelin, Jul 12, 2008
  4. Shawn O. PearceJul 13, 2008
  5. Junio C HamanoJul 13, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.