From: Johannes Schindelin <Johannes.Schindelin@gmx.de>
To: Junio C Hamano <gitster@pobox.com>
Cc: Alex Riesen <raa.lkml@gmail.com>, git@vger.kernel.org
Subject: Re: [PATCH] git init: activate rerere by default
Date: Fri, 6 Jul 2007 13:03:37 +0100 (BST) [thread overview]
Message-ID: <Pine.LNX.4.64.0707061231050.4093@racer.site> (raw)
In-Reply-To: <7v1wfmi090.fsf@assigned-by-dhcp.cox.net>
Hi,
On Thu, 5 Jul 2007, Junio C Hamano wrote:
> Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
>
> > .... I guess that many distros do not update their templates as often
> > as the core, because they are much more likely to be modified
> > distro-specifically.
>
> Can you back that up? Fedora and Debian seem to ship them unmodified.
No.
> > Further, there are some platforms which are insane enough that you
> > cannot trust the executable bit, and therefore the templates are
> > disabled by default.
But this still holds.
> If you truly want to have rerere enabled by default, it might make sense
> to:
>
> * Remove "if test -d "$GIT_DIR/rr-cache" tests we have in the
> existing users;
>
> * Implement a new test in builtin-rerere.c, as:
>
> - if rerere.enabled configuration does not exist, check
> $GIT_DIR/rr-cache as before;
>
> - if rerere.enabled configuration is true, do not bother
> checking $GIT_DIR/rr-cache, but just do it;
>
> - if rerere.enabled configuration is explicitly set to false,
> never use rerere.
>
> * Maybe later we might change the default value for
> rerere.enabled to "true", IOW, everybody except people who
> say "[rerere] enabled = false" in their configuration
> automatically gets rerere.
>
> Doing it in git-init, either your patch or by installing a new
> template, means existing old repository would never get the
> updated behaviour unless the user runs "git init" there, which
> is not a very intuitive thing to do to begin with.
Well, I finally bit the apple. Will post in a minute.
Ciao,
Dscho
next prev parent reply other threads:[~2007-07-06 12:10 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-05 12:16 [PATCH] git init: activate rerere by default Johannes Schindelin
2007-07-05 13:10 ` Alex Riesen
2007-07-05 16:46 ` Junio C Hamano
2007-07-05 17:15 ` Johannes Schindelin
2007-07-05 18:53 ` Junio C Hamano
2007-07-05 19:22 ` Johannes Schindelin
2007-07-05 21:40 ` Alex Riesen
2007-07-05 22:29 ` Johannes Schindelin
2007-07-06 5:12 ` Junio C Hamano
2007-07-06 12:03 ` Johannes Schindelin [this message]
2007-07-06 11:12 ` しらいしななこ
[not found] <200707061112.l66BCb6w017186@mi1.bluebottle.com>
2007-07-06 12:03 ` Johannes Schindelin
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=Pine.LNX.4.64.0707061231050.4093@racer.site \
--to=johannes.schindelin@gmx.de \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=raa.lkml@gmail.com \
/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).