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

Re: [RFC/PATCH] enable rerere by default

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Feb 6, 2007, 23:19 UTC
Message-ID
<Pine.LNX.4.63.0702070016360.22628@wbgn013.biozentrum.uni-wuerzburg.de>
In-Reply-To
<7vhctyhon2.fsf@assigned-by-dhcp.cox.net>
Hi,
On Tue, 6 Feb 2007, Junio C Hamano wrote:
Show 10 quoted lines
> Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
> 
> >> How do I disable rerere by default?
> >
> > How'd you like it? Should this rather become a config variable, or do you 
> > want to make a file called "rr-cache" in the templates, which just 
> > contains a word "disabled"? (git-rerere checks if a _directory_ 
> > $GIT_DIR/rr-cache exists.)
> 
> Is it so bad to do "rm -rf .git/rr-cache"?

I guess the problem is that you cannot do that by a hook, or by installing appropriate templates.

Since the test for rr-cache always is a test for a directory, it might make sense to _not_ fail in init-db when creating the directory. In that case, rerere can be disabled by installing templates which make rr-cache a _file_.

Ciao, Dscho

Previous: Junio C Hamano
Message 7 of 7 in “enable rerere by default”
  1. enable rerere by defaultJohannes Schindelin, Feb 6, 2007
  2. Alex RiesenFeb 6, 2007
  3. Johannes SchindelinFeb 6, 2007
  4. Alex RiesenFeb 6, 2007
  5. Johannes SchindelinFeb 6, 2007
  6. Junio C HamanoFeb 6, 2007
  7. Johannes SchindelinFeb 6, 2007

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.