From: Jeff King <peff@peff.net>
To: Duy Nguyen <pclouds@gmail.com>
Cc: Dan Aloni <alonid@gmail.com>, Git Mailing List <git@vger.kernel.org>
Subject: Re: [PATCH] Trick to force setup of a specific configured E-Mail per repo
Date: Wed, 3 Feb 2016 00:53:38 -0500 [thread overview]
Message-ID: <20160203055338.GA22818@sigill.intra.peff.net> (raw)
In-Reply-To: <CACsJy8CbnPGz40Bb+u-_QJCRT0r2p1FUQo1Ywu5F9cz+szUGtw@mail.gmail.com>
On Wed, Feb 03, 2016 at 12:26:36PM +0700, Duy Nguyen wrote:
> >> Should we generalize this use case, i.e. define a list of
> >> configuration variables that must be (re-)defined per-repo? Maybe not
> >> worth it, I don't know. I can't think of any other variable that
> >> should behave this way off the top of my head.
> >
> > That's an interesting thought, but I'm not sure how it would work. The
> > ident variables are special in that people are often unhappy with the
> > fallback. What would it mean for somebody to say "do not proceed if
> > diff.renameLimit is not set", and where would we enforce that?
>
> Enforcing it at git-init and git-clone, interactively asking the
> values of these variables, may be too much. If only we can catch if a
> variable is used, then we probably can catch it there. But that may
> require some more changes in config api.
Yeah, maybe. I do not want to say "definitely not", but I do think this
is sufficiently more complicated than something like user.guessIdent
that we should not make it a dependency.
-Peff
next prev parent reply other threads:[~2016-02-03 5:53 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-02 19:54 [PATCH] Trick to force setup of a specific configured E-Mail per repo Dan Aloni
2016-02-03 3:56 ` Jeff King
2016-02-03 5:19 ` Duy Nguyen
2016-02-03 5:22 ` Jeff King
2016-02-03 5:26 ` Duy Nguyen
2016-02-03 5:53 ` Jeff King [this message]
2016-02-03 8:01 ` Junio C Hamano
2016-02-03 8:21 ` Dan Aloni
2016-02-03 17:47 ` Eric Sunshine
2016-02-03 19:22 ` [PATCH v3] Add user.explicit boolean for when ident shouldn't be guessed Dan Aloni
2016-02-04 4:01 ` Jeff King
2016-02-04 4:19 ` Jeff King
2016-02-04 4:32 ` Jeff King
2016-02-04 5:36 ` Dan Aloni
2016-02-04 5:50 ` Jeff King
2016-02-04 9:07 ` Dan Aloni
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160203055338.GA22818@sigill.intra.peff.net \
--to=peff@peff.net \
--cc=alonid@gmail.com \
--cc=git@vger.kernel.org \
--cc=pclouds@gmail.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.
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 NNTP newsgroup(s).