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

Re: push failure on domain-connected machine

From
Stefan Beller <sbeller@google.com>
Date
Nov 18, 2015, 20:40 UTC
Message-ID
<CAGZ79kaoX8-N1ccT_HqXjqZJ1B3dsB3NYGVY13X2CN7NDPZjtQ@mail.gmail.com>
In-Reply-To
<564CAB93.9040007@icefield.yk.ca>
+ Johannes

Though git for windows tracks its bugs at https://github.com/git-for-windows/git/issues I think.

On Wed, Nov 18, 2015 at 8:47 AM, Erik Blake <erik@icefield.yk.ca> wrote:
Show 29 quoted lines
> When pushing an existing local repo to a new remote repo, git 2.6.3
> misidentifies the user's home directory on a domain-connected Windows
> machine. My machine is running Win7-64 and I have tried both the 32-bit
> and 64-bit version of git.
>
> For example, the following sequence fails on the last command:
>
>>git remote add remote <remote repo URL>
>>git config remote.uf.push refs/heads/master:refs/heads/master
>>git push remote master
>
> The error returned by the last command is "Could not create directory
> '/home/foo/.ssh'."
>
> git should be targeting the directory '/home/foo.domain/.ssh' instead.
>
> The path to the user profile should be taken from %HOMEDRIVE%%HOMEPATH%
> or, preferably, %USERPROFILE% and not %USERNAME%, unless %USERDOMAIN% is
> appended when a domain-connected computer is detected.
>
> git 1.9.5 does not exhibit this problem.
>
>
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous: Erik Blake
Message 2 of 2 in “push failure on domain-connected machine”
  1. Erik BlakeNov 18, 2015
  2. Stefan BellerNov 18, 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.