From: Junio C Hamano <gitster@pobox.com>
To: "Santi Béjar" <sbejar@gmail.com>
Cc: "Junio C Hamano" <gitster@pobox.com>, git@vger.kernel.org
Subject: Re: [PATCH] user.default: New config to prevent using the default values for user.*
Date: Wed, 05 Mar 2008 14:53:02 -0800 [thread overview]
Message-ID: <7vwsogkckx.fsf@gitster.siamese.dyndns.org> (raw)
In-Reply-To: <8aa486160803051433h2a5f0aeenaf473784198276f6@mail.gmail.com> (Santi Béjar's message of "Wed, 5 Mar 2008 23:33:41 +0100")
"Santi Béjar" <sbejar@gmail.com> writes:
> On Wed, Mar 5, 2008 at 10:29 PM, Junio C Hamano <gitster@pobox.com> wrote:
>
>> Perhaps you can make git-init run a post-init hook script by
>> default, and have ~/.gitconfig specify the location of it, and
>> have it do whatever custom settings to the per-repository
>> configuration file?
>
> I would still need something to prevent doing a commit without a
> locally specified name/email.
Yes, but that something could simply be "echo '[user] name'
>.git/config" in that hook, for example.
next prev parent reply other threads:[~2008-03-05 22:54 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-05 19:18 [PATCH] user.default: New config to prevent using the default values for user.* Santi Béjar
2008-03-05 19:54 ` Jon Loeliger
2008-03-05 20:36 ` Santi Béjar
2008-03-05 20:11 ` Johannes Schindelin
2008-03-05 20:21 ` Daniel Barkalow
2008-03-05 20:41 ` Santi Béjar
2008-03-05 20:44 ` Alex Riesen
2008-03-06 21:45 ` Santi Béjar
2008-03-07 16:41 ` Alex Riesen
2008-03-08 0:13 ` Santi Béjar
2008-03-08 1:24 ` Johannes Schindelin
2008-03-08 2:08 ` Junio C Hamano
2008-03-08 2:22 ` Johannes Schindelin
2008-03-05 21:01 ` Jakub Narebski
2008-03-05 22:35 ` Santi Béjar
2008-03-05 21:29 ` Junio C Hamano
2008-03-05 22:33 ` Santi Béjar
2008-03-05 22:53 ` Junio C Hamano [this message]
2008-03-05 23:23 ` Santi Béjar
2008-03-05 23:29 ` Junio C Hamano
2008-03-05 23:39 ` Santi Béjar
2008-03-06 0:29 ` Junio C Hamano
2008-03-06 8:08 ` Santi Béjar
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
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7vwsogkckx.fsf@gitster.siamese.dyndns.org \
--to=gitster@pobox.com \
--cc=git@vger.kernel.org \
--cc=sbejar@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.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).