git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Possible Bug in git-http-push

From
SStefan <bugs@innuce.ch>
Date
Apr 10, 2015, 11:15 UTC
Message-ID
<5527B0D6.3010608@innuce.ch>
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

Next: Thomas Braun
Message 1 of 3 in “Possible Bug in git-http-push”
  1. StefanApr 10, 2015
  2. Thomas BraunApr 10, 2015
  3. bugs@innuce.chApr 12, 2015

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.