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

Slight in error in git-rerere help page

From
François Pinard <pinard@iro.umontreal.ca>
Date
Jul 28, 2009, 02:20 UTC
Message-ID
<ygeocr5blap.fsf@phenix.progiciels-bpi.ca>
Hi, people.  This is for git version 1.6.4.rc3.12.gdf73a
The output of "git help rerere" contains:
   You need to set the configuration variable rerere.enabled to enable
   this command.

It seems that that "enable" is not a proper value. If I used it over a small repository, I get:

   22:17:33 0 pinard@phenix:etc $ git config rerere.enabled enable
   22:17:44 0 pinard@phenix:etc $ git gc
   Counting objects: 1072, done.
   Compressing objects: 100% (559/559), done.
   Writing objects: 100% (1072/1072), done.
   Total 1072 (delta 460), reused 1072 (delta 460)
   fatal: bad config value for 'rerere.enabled' in .git/config
   error: failed to run rerere
Removing the rerere section repairs this last problem.

P.S. - I'm also a bit curious about why rerere is needed for a garbage collection.

-- 
François Pinard   http://pinard.progiciels-bpi.ca
Next: François Pinard
Message 1 of 3 in “Slight in error in git-rerere help page”
  1. François PinardJul 28, 2009
  2. François PinardJul 28, 2009
  3. git-rerere.txt: Clarify ambiguity of the config variableMichael J Gruber, Jul 28, 2009

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.