{"thread":{"id":"40829","subject":"push failure on domain-connected machine","startedAt":"2015-11-18T16:47:15Z","lastAt":"2015-11-18T20:40:33Z","messageCount":2,"participants":["Erik Blake","Stefan Beller"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"273477","messageId":"564CAB93.9040007@icefield.yk.ca","threadId":"40829","inReplyTo":null,"subject":"push failure on domain-connected machine","fromName":"Erik Blake","fromEmail":"erik@icefield.yk.ca","sentAt":"2015-11-18T16:47:15Z","receivedAt":"2015-11-18T16:47:15Z","isPatch":false,"sender":{"key":"erik@icefield.yk.ca","avatar":null},"body":"When pushing an existing local repo to a new remote repo, git 2.6.3\nmisidentifies the user's home directory on a domain-connected Windows\nmachine. My machine is running Win7-64 and I have tried both the 32-bit\nand 64-bit version of git.\n\nFor example, the following sequence fails on the last command:\n\n>git remote add remote <remote repo URL>\n>git config remote.uf.push refs/heads/master:refs/heads/master\n>git push remote master\n\nThe error returned by the last command is \"Could not create directory\n'/home/foo/.ssh'.\"\n\ngit should be targeting the directory '/home/foo.domain/.ssh' instead.\n\nThe path to the user profile should be taken from %HOMEDRIVE%%HOMEPATH%\nor, preferably, %USERPROFILE% and not %USERNAME%, unless %USERDOMAIN% is\nappended when a domain-connected computer is detected.\n\ngit 1.9.5 does not exhibit this problem.\n"},{"id":"273482","messageId":"CAGZ79kaoX8-N1ccT_HqXjqZJ1B3dsB3NYGVY13X2CN7NDPZjtQ@mail.gmail.com","threadId":"40829","inReplyTo":"564CAB93.9040007@icefield.yk.ca","subject":"Re: push failure on domain-connected machine","fromName":"Stefan Beller","fromEmail":"sbeller@google.com","sentAt":"2015-11-18T20:40:33Z","receivedAt":"2015-11-18T20:40:33Z","isPatch":false,"sender":{"key":"stefanbeller@gmail.com","avatar":"https://avatars.githubusercontent.com/u/455868?v=4"},"body":"+ Johannes\n\nThough git for windows tracks its bugs at\nhttps://github.com/git-for-windows/git/issues I think.\n\nOn Wed, Nov 18, 2015 at 8:47 AM, Erik Blake <erik@icefield.yk.ca> wrote:\n> When pushing an existing local repo to a new remote repo, git 2.6.3\n> misidentifies the user's home directory on a domain-connected Windows\n> machine. My machine is running Win7-64 and I have tried both the 32-bit\n> and 64-bit version of git.\n>\n> For example, the following sequence fails on the last command:\n>\n>>git remote add remote <remote repo URL>\n>>git config remote.uf.push refs/heads/master:refs/heads/master\n>>git push remote master\n>\n> The error returned by the last command is \"Could not create directory\n> '/home/foo/.ssh'.\"\n>\n> git should be targeting the directory '/home/foo.domain/.ssh' instead.\n>\n> The path to the user profile should be taken from %HOMEDRIVE%%HOMEPATH%\n> or, preferably, %USERPROFILE% and not %USERNAME%, unless %USERDOMAIN% is\n> appended when a domain-connected computer is detected.\n>\n> git 1.9.5 does not exhibit this problem.\n>\n>\n>\n>\n> --\n> To unsubscribe from this list: send the line \"unsubscribe git\" in\n> the body of a message to majordomo@vger.kernel.org\n> More majordomo info at  http://vger.kernel.org/majordomo-info.html\n"}]}