From: "Santi Béjar" <sbejar@gmail.com>
To: "Junio C Hamano" <gitster@pobox.com>
Cc: git@vger.kernel.org
Subject: Re: [PATCH] user.default: New config to prevent using the default values for user.*
Date: Thu, 6 Mar 2008 00:23:27 +0100 [thread overview]
Message-ID: <8aa486160803051523t51a8294fwc55d9e41e61cc733@mail.gmail.com> (raw)
In-Reply-To: <7vwsogkckx.fsf@gitster.siamese.dyndns.org>
On Wed, Mar 5, 2008 at 11:53 PM, Junio C Hamano <gitster@pobox.com> wrote:
> "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.
But I want a different locally specified name in each repository,
because I use different emails for different projects
(private/work/...).
Santi
next prev parent reply other threads:[~2008-03-05 23:24 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
2008-03-05 23:23 ` Santi Béjar [this message]
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=8aa486160803051523t51a8294fwc55d9e41e61cc733@mail.gmail.com \
--to=sbejar@gmail.com \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.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).