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

Re: [PATCH] git init: activate rerere by default

From
Junio C Hamano <gitster@pobox.com>
Date
Jul 5, 2007, 18:53 UTC
Message-ID
<7vfy42d6m0.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<Pine.LNX.4.64.0707051811310.9789@racer.site>
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
Show 25 quoted lines
> Hi,
>
> On Thu, 5 Jul 2007, Junio C Hamano wrote:
>
>> "Alex Riesen" <raa.lkml@gmail.com> writes:
>> 
>> > On 7/5/07, Johannes Schindelin <Johannes.Schindelin@gmx.de> 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.
Previous: Johannes SchindelinNext: Johannes Schindelin
Message 5 of 11 in “git init: activate rerere by default”
  1. git init: activate rerere by defaultJohannes Schindelin, Jul 5, 2007
  2. Alex RiesenJul 5, 2007
  3. Junio C HamanoJul 5, 2007
  4. Johannes SchindelinJul 5, 2007
  5. Junio C HamanoJul 5, 2007
  6. Johannes SchindelinJul 5, 2007
  7. Alex RiesenJul 5, 2007
  8. Johannes SchindelinJul 5, 2007
  9. Junio C HamanoJul 6, 2007
  10. Johannes SchindelinJul 6, 2007
  11. しらいしななこJul 6, 2007

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.