Re: [PATCH] user.default: New config to prevent using the default values for user.*
"Santi Béjar" <sbejar@gmail.com> writes:
Show 9 quoted lines
> 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.