Re: [PATCH] user.default: New config to prevent using the default values for user.*

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 5, 2008 at 11:53 PM, Junio C Hamano <gitster@xxxxxxxxx> wrote:
> "Santi Béjar" <sbejar@xxxxxxxxx> writes:
>
>  > On Wed, Mar 5, 2008 at 10:29 PM, Junio C Hamano <gitster@xxxxxxxxx> 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.

But I want a different locally specified name in each repository,
because I use different emails for different projects
(private/work/...).

Santi
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux