From: Jeff King <peff@peff.net>
To: "SZEDER Gábor" <szeder@ira.uka.de>
Cc: Junio C Hamano <gitster@pobox.com>, git@vger.kernel.org
Subject: Re: [PATCH] completion: remove credential helpers from porcelain commands
Date: Tue, 5 May 2015 16:06:07 -0400 [thread overview]
Message-ID: <20150505200607.GB12067@peff.net> (raw)
In-Reply-To: <1430831972-6788-1-git-send-email-szeder@ira.uka.de>
On Tue, May 05, 2015 at 03:19:32PM +0200, SZEDER Gábor wrote:
> Don't offer the "main" 'git credential' command or any of the credential
> helpers from contrib/credential/ when completing git commands.
Makes sense to me, modulo the typo Erik pointed out.
> I was tempted to simply filter out 'credential-*', so we don't have to
> update this list when new credential helpers arrive. However, the
> 'git-credential-*' "namespace" is not explicitly reserved for credential
> helpers, users have to set the 'credential.helper' config variable to tell
> explicitly that 'git-credential-foo' should be used as credential helper,
> and who knows, someone might have his own 'git-credential-bar' command that
> does something completely unrelated to git's credential system, so in the
> end decided against it. And credential helpers don't pop up too frequently
> anyway.
>
> However, if you think filtering out 'credential-*' is the way to go, I'm
> happy to reroll.
I'd actually be fine with just marking all credential-* as "credentials
helper". I think we have staked out the "git-credential-foo" namespace,
so anybody putting something unrelated in there deserves what they get.
And it makes one fewer list to keep up to date.
I _do_ have other git-credential-foo's that should be ignored (and are
not in your list), but I am probably the only person in the world (they
are due to me experimenting with the credential helper code :) ).
-Peff
next prev parent reply other threads:[~2015-05-05 20:06 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-05 13:19 [PATCH] completion: remove credential helpers from porcelain commands SZEDER Gábor
2015-05-05 14:28 ` Erik Faye-Lund
2015-05-05 20:06 ` Jeff King [this message]
2015-05-05 21:36 ` Junio C Hamano
2015-05-06 10:26 ` SZEDER Gábor
-- strict thread matches above, loose matches on Subject: below --
2012-06-13 8:11 SZEDER Gábor
2012-06-13 20:25 ` Junio C Hamano
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=20150505200607.GB12067@peff.net \
--to=peff@peff.net \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=szeder@ira.uka.de \
/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).