Re: [PATCH] user.default: New config to prevent using the default values for user.*
- From
Jon Loeliger <jdl@freescale.com>
- Date
- Mar 5, 2008, 19:54 UTC
- Message-ID
- <47CEFA62.4070209@freescale.com>
- In-Reply-To
- <1204744684-2043-1-git-send-email-sbejar@gmail.com>
Santi Béjar wrote:
Show 21 quoted lines
> 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
> + 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?
jdl