git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Guilherme <guibufolo@gmail.com>
To: Junio C Hamano <gitster@pobox.com>
Cc: Jeff King <peff@peff.net>, "git@vger.kernel.org" <git@vger.kernel.org>
Subject: Re: Fwd: git clone does not respect command line options
Date: Sun, 28 Feb 2016 09:07:23 +0530	[thread overview]
Message-ID: <CAMDzUtyjf2LwYJTYcY588LgrSNfusX=L09oFeS4UhLjH+WpEOQ@mail.gmail.com> (raw)
In-Reply-To: <xmqqegbzl86d.fsf@gitster.mtv.corp.google.com>

What is the current situation if credential.helper is set twice in the
same config file.

Either
[credential]
  helper = first
  helper = second

or with
[credential]
  helper = first

[credenital]
  helper = second

Will both be used by git clone?

How do i remove these from the command line?
I tried git config --unset credential.helper but that only gives you a
warning and does not remove any.

Worse is that if second is the empty string there is no way for one to
know there is a second set unless he tries to delete the first one.
But one still cannot query the value of the second.

  reply	other threads:[~2016-02-28  3:38 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAMDzUtzoiJWzckTX818HJV=su0eEP35gsNDJ=+k_me08EDvxRg@mail.gmail.com>
2016-02-26  6:47 ` Fwd: git clone does not respect command line options Guilherme
2016-02-26  7:34   ` Jeff King
2016-02-26  7:46     ` Guilherme
2016-02-26  7:59       ` Jeff King
2016-02-26  8:15         ` Jacob Keller
2016-02-26  8:24           ` Jeff King
2016-02-26  8:34             ` Duy Nguyen
2016-02-26  8:45               ` Jeff King
     [not found]             ` <CAMDzUtwG9pLz6CqxVEaw5xcZwQ2Ni37h_R45+frzJrRshgpZQg@mail.gmail.com>
2016-02-26  9:57               ` Jeff King
2016-02-26 16:59     ` Junio C Hamano
2016-02-28  3:37       ` Guilherme [this message]
     [not found]       ` <CAMDzUtxnSeTrfBWWqeOVQm30x5nE6fC9LSx=YNSws2h24TmchQ@mail.gmail.com>
2016-02-28  5:01         ` Jeff King

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='CAMDzUtyjf2LwYJTYcY588LgrSNfusX=L09oFeS4UhLjH+WpEOQ@mail.gmail.com' \
    --to=guibufolo@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    --cc=peff@peff.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 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).