git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: fuz@fuz.su
To: git@vger.kernel.org
Subject: Bugreport: git push disobeys -c remote.xxx.url=...
Date: Fri, 30 May 2014 02:03:56 +0200	[thread overview]
Message-ID: <20140530000356.GA8033@fuz.su> (raw)

Hello!

I've tried to changing the URL of a remote temporarily because of network
issues. I tried something like this:

    git -c remote.foo.url=http://gitserver.example/repo.git push foo bar

Tracing shows that git push does not use the provided URL for the remote foo
and instead uses the URL configured in the repository configuration as if the
-c option was not present at all. This looks like a bug to me.

My git identifies as version 1.8.1.2.

Yours sincerely,
Robert Clausecker

-- 
()  ascii ribbon campaign - for an 8-bit clean world 
/\  - against html email  - against proprietary attachments

             reply	other threads:[~2014-05-30  0:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-30  0:03 fuz [this message]
2014-05-30  1:43 ` Bugreport: git push disobeys -c remote.xxx.url= 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=20140530000356.GA8033@fuz.su \
    --to=fuz@fuz.su \
    --cc=git@vger.kernel.org \
    /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).