git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stefan <bugs@innuce.ch>
To: git@vger.kernel.org
Subject: Possible Bug in git-http-push
Date: Fri, 10 Apr 2015 13:15:34 +0200	[thread overview]
Message-ID: <5527B0D6.3010608@innuce.ch> (raw)

Hello List

I possibly found a bug in git-http-push:

When I push my local repo via http secured with basic authorization,
then i get:

error: Cannot access URL https://example.ch/example_repo/, return code 22
fatal: git-http-push failed
Pushing to https://example.ch/example_repo/

My server log gives PROPPFIND 401, so i seems that the PROPPFIND-sent
by git-http-push does not use supplied username/pw via prompt

Pulling works without problems.

When I change remote URL to
https://user:password@example.ch/example_repo, pushing works.

I'm using git version 1.9.5.msysgit.1

Thanks
Stefan

             reply	other threads:[~2015-04-10 11:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-10 11:15 Stefan [this message]
2015-04-10 16:55 ` Possible Bug in git-http-push Thomas Braun
2015-04-12 10:24   ` bugs

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=5527B0D6.3010608@innuce.ch \
    --to=bugs@innuce.ch \
    --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).