From: Junio C Hamano Date: Thu, 05 Jul 2007 18:53:59 GMT Subject: Re: [PATCH] git init: activate rerere by default Message-ID: <7vfy42d6m0.fsf@assigned-by-dhcp.cox.net> In-Reply-To: Johannes Schindelin writes: > Hi, > > On Thu, 5 Jul 2007, Junio C Hamano wrote: > >> "Alex Riesen" writes: >> >> > On 7/5/07, Johannes Schindelin wrote: >> >> >> >> We have a working implementation of rerere since long ago, and we even >> >> make sure that it works as expected in a test case. It is also a very >> >> useful feature, so why not turn it on for the benefit of users who are >> >> not even aware of it? This patch does that. >> > >> > Maybe just create in template directory? >> >> Sounds saner. > > Does it? > > I had the impression that the templates are meant for site-specific > modifications. My patch tried to make it more standard than that. > > For example, you _could_ have set core.logallrefupdates from the > templates, yet you chose not to, but rather hard-wire it into "git init". > Which I completely agree to. I think what Alex meant is this. diff --git a/templates/rr-cache-- b/templates/rr-cache-- new file mode 100644 index 0000000..fae8870 --- /dev/null +++ b/templates/rr-cache-- @@ -0,0 +1 @@ +: this is just to ensure the directory exists.