Re: git-rerere: Usage question
- From
- Dirk Süsserott <newsletter@dirk.my1.cc>
- Date
- May 24, 2008, 12:06 UTC
- Message-ID
- <483804C8.8020703@dirk.my1.cc>
- In-Reply-To
- <20080524075436.GA4377@glandium.org>
Mike Hommey schrieb:
Show 12 quoted lines
> On Fri, May 23, 2008 at 05:02:11PM -0700, Junio C Hamano wrote: > >> These days, rerere is pretty much automatic in that rerere is called >> automatically from places that generate conflicts (e.g. "git merge") for >> purpose of (1), and from places that the user tells git that the conflicts >> are now resolved (e.g. "git commit") for purpose of (2). >> > > Note that it is not totally automatic for most people because the > default is to enable only if the .git/rr_cache directory exists, and > neither git init nor git clone create this directory. >
git-gc does -- at least if rerere.enabled is set. Thanks for the pointer that this directory must exist. Probably it gets auto-created when needed? I didn't check that out coz I currently have nothing to merge with :-( A simple no-op "git pull" (Already up-to-date) did *not* create the directory, but git-gc did.
Dirk