From: "Ævar Arnfjörð Bjarmason" <avarab@gmail.com>
To: Nicolas Mailhot <nicolas.mailhot@laposte.net>
Cc: git@vger.kernel.org
Subject: Re: [RFE] Please add name and email to git credentials
Date: Thu, 01 Nov 2018 12:22:46 +0100 [thread overview]
Message-ID: <87zhutjb3t.fsf@evledraar.gmail.com> (raw)
In-Reply-To: <6d8ef01ad9eb08d90cb9848eeaeabe6784b7b3e3.camel@laposte.net>
On Thu, Nov 01 2018, Nicolas Mailhot wrote:
> A dev persona is not just a username, please add email (and probably
> also name) support to git credentials so the correct set for a repo url
> is automatically picked up by git
The "git-credential" helper needs to look at a URL like
git@github.com:git/git.git and decide that protocol=ssh, username=git,
host=github.com, path=git/git.git etc, because that's the credential we
need to lookup to push to.
Where would we get an E-Mail to lookup to pass to the helper? Are you
just asking that the helper git the result of $(git config user.name &&
git config user.email)? If so why can't it just look this up itself?
next prev parent reply other threads:[~2018-11-01 11:22 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-01 9:59 [RFE] Please add name and email to git credentials Nicolas Mailhot
2018-11-01 11:22 ` Ævar Arnfjörð Bjarmason [this message]
2018-11-01 12:34 ` Nicolas Mailhot
2018-11-01 13:15 ` Ævar Arnfjörð Bjarmason
2018-11-01 14:13 ` Christian Couder
2018-11-01 14:32 ` Randall S. Becker
2018-11-01 14:42 ` Nicolas Mailhot
2018-11-02 8:27 ` Christian Couder
2018-11-02 8:57 ` Nicolas Mailhot
2018-11-02 16:51 ` Jeff King
2018-11-02 17:32 ` Nicolas Mailhot
2018-11-02 17:56 ` Jeff King
2018-11-01 11:32 ` Nicolas Mailhot
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=87zhutjb3t.fsf@evledraar.gmail.com \
--to=avarab@gmail.com \
--cc=git@vger.kernel.org \
--cc=nicolas.mailhot@laposte.net \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.