git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: pinard@iro.umontreal.ca (François Pinard)
To: git@vger.kernel.org
Subject: Slight in error in git-rerere help page
Date: Mon, 27 Jul 2009 22:20:30 -0400	[thread overview]
Message-ID: <ygeocr5blap.fsf@phenix.progiciels-bpi.ca> (raw)

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

             reply	other threads:[~2009-07-28  2:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-28  2:20 François Pinard [this message]
2009-07-28  2:28 ` Slight in error in git-rerere help page François Pinard
2009-07-28 14:42   ` [PATCH] git-rerere.txt: Clarify ambiguity of the config variable Michael J Gruber

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ygeocr5blap.fsf@phenix.progiciels-bpi.ca \
    --to=pinard@iro.umontreal.ca \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).