From: Sverre Rabbelier Date: Mon, 16 Jun 2008 16:18:40 GMT Subject: Re: git-rerere observations and feature suggestions Message-ID: In-Reply-To: <20080616155747.GB6938@artemis.madism.org> On Mon, Jun 16, 2008 at 5:57 PM, Pierre Habouzit wrote: > On Mon, Jun 16, 2008 at 03:48:51PM +0000, Pierre Habouzit wrote: >> Actually it would be rather straightforward to put it in the usual git >> store, and represent the current rr-cache with a flat file that points >> to the in-git preimage/postimages, and make git-gc aware of those. > > Actually, this is probably a required step in the direction of sharing > such things btw. Perhaps an approach similar to the 'notes' implementation can be used, in which a separate branch is created to contain the notes. This way the rerere information (being the 'rerere' branch) can be shared easily (by just pulling the branch), and as said we get free compression. Another advantage would be that you automagically get the ability to unlearn a bad rerere by simply (partially) reverting a commit on the rerere branch! -- Cheers, Sverre Rabbelier