From: Santi Béjar Date: Wed, 05 Mar 2008 20:36:51 GMT Subject: Re: [PATCH] user.default: New config to prevent using the default values for user.* Message-ID: <8aa486160803051236x2e184915hf5d2448a832f4c63@mail.gmail.com> In-Reply-To: <47CEFA62.4070209@freescale.com> On Wed, Mar 5, 2008 at 8:54 PM, Jon Loeliger wrote: > Santi Béjar wrote: > > Useful when you want a different email/name for each repository > > > > Signed-off-by: Santi Béjar > > --- > > Documentation/config.txt | 5 +++++ > > cache.h | 1 + > > config.c | 5 +++++ > > environment.c | 1 + > > ident.c | 6 +++--- > > 5 files changed, 15 insertions(+), 3 deletions(-) > > > > diff --git a/Documentation/config.txt b/Documentation/config.txt > > index 4027726..d7e5b6d 100644 > > --- a/Documentation/config.txt > > +++ b/Documentation/config.txt > > @@ -914,6 +914,11 @@ url..insteadOf:: > > never-before-seen repository on the site. When more than one > > insteadOf strings match a given URL, the longest match is used. > > > > +user.default:: > > + If false the defaults values for user.email and user.name are not > > s/defaults/default > Thanks > > > + used. Useful when you want a different email/name for each > > + repository, normally set in the global config file. > > + > > You already _can_ have a different email/name for each > repository, right? Isn't the issue that you want to _force_ > each repository to explicitly have these values set? > Maybe: Useful when you want a different email/name for each repository, so you can set this in the global config file and then you are force to set the user.email and user.name in each repository. (sorry for my non-native english) Thanks Santi