Re: [PATCH] user.default: New config to prevent using the default values for user.*
- From
- Santi Béjar <sbejar@gmail.com>
- Date
- Mar 5, 2008, 20:36 UTC
- Message-ID
- <8aa486160803051236x2e184915hf5d2448a832f4c63@mail.gmail.com>
- In-Reply-To
- <47CEFA62.4070209@freescale.com>
On Wed, Mar 5, 2008 at 8:54 PM, Jon Loeliger <jdl@freescale.com> wrote:
Show 25 quoted lines
> Santi Béjar wrote: > > Useful when you want a different email/name for each repository > > > > Signed-off-by: Santi Béjar <sbejar@gmail.com> > > --- > > 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.<base>.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
Show 9 quoted lines
> > > + 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