{"action":"created","issue":{"url":"https://api.github.com/repos/git-for-windows/git/issues/1498","repository_url":"https://api.github.com/repos/git-for-windows/git","labels_url":"https://api.github.com/repos/git-for-windows/git/issues/1498/labels{/name}","comments_url":"https://api.github.com/repos/git-for-windows/git/issues/1498/comments","events_url":"https://api.github.com/repos/git-for-windows/git/issues/1498/events","html_url":"https://github.com/git-for-windows/git/issues/1498","id":297300189,"number":1498,"title":"Credential Manager doesn't work in Windows Containers with BusyBox MinGit","user":{"login":"dhirschfeld","id":881019,"avatar_url":"https://avatars1.githubusercontent.com/u/881019?v=4","gravatar_id":"","url":"https://api.github.com/users/dhirschfeld","html_url":"https://github.com/dhirschfeld","followers_url":"https://api.github.com/users/dhirschfeld/followers","following_url":"https://api.github.com/users/dhirschfeld/following{/other_user}","gists_url":"https://api.github.com/users/dhirschfeld/gists{/gist_id}","starred_url":"https://api.github.com/users/dhirschfeld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhirschfeld/subscriptions","organizations_url":"https://api.github.com/users/dhirschfeld/orgs","repos_url":"https://api.github.com/users/dhirschfeld/repos","events_url":"https://api.github.com/users/dhirschfeld/events{/privacy}","received_events_url":"https://api.github.com/users/dhirschfeld/received_events","type":"User","site_admin":false},"labels":[{"id":123703946,"url":"https://api.github.com/repos/git-for-windows/git/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2018-02-15T01:07:07Z","updated_at":"2018-02-21T13:04:19Z","closed_at":null,"author_association":"NONE","body":" - Which version of Git for Windows are you using? Is it 32-bit or 64-bit?\r\n\r\n```\r\nC:\\> git --version --build-options\r\ngit version 2.16.1.windows.4\r\ncpu: x86_64\r\nbuilt from commit: ef6d451bbfef86a529ebf12620289e0f15a93d8e\r\n```\r\n\r\nRunning on a `windowsservercore:1709` container:\r\n```\r\nC:\\> (Get-CimInstance Win32_OperatingSystem).version\r\n10.0.16299\r\n```\r\n\r\n```\r\nC:\\> cmd.exe /c ver\r\n\r\nMicrosoft Windows [Version 10.0.16299.192]\r\n```\r\n\r\n - What options did you set as part of the installation? Or did you choose the\r\n   defaults?\r\n\r\nI just unzipped the [prebuilt release](https://github.com/git-for-windows/git/releases/download/v2.16.1.windows.4/MinGit-2.16.1.4-busybox-64-bit.zip)\r\n\r\n - Any other interesting things about your environment that might be related\r\n   to the issue you're seeing?\r\n\r\nRunning on a Windows Container\r\n\r\n### Details\r\n\r\n - Running from powershell\r\n```\r\nC:\\> git clone https://github.stanwell.com/Trading/skeleton.git\r\nCloning into 'skeleton'...\r\nbash: Unhandled device /dev/tty\r\n\r\ncat: write error: Bad file descriptor\r\nerror: failed to execute prompt script (exit code 1)\r\nfatal: could not read Username for 'https://github.stanwell.com/Trading/skeleton.git': No error\r\nC:\\>\r\n```\r\n\r\nNote: The credential manager works correctly with the [full `.exe` installer](https://github.com/git-for-windows/git/releases/download/v2.16.1.windows.4/Git-2.16.1.4-64-bit.exe)\r\n```\r\nC:\\> git clone https://github.stanwell.com/Trading/skeleton.git\r\nCloning into 'skeleton'...\r\nLogon failed, use ctrl+c to cancel basic credential prompt.\r\nUsername for 'https://github.stanwell.com': dhirschfeld\r\nPassword for 'https://dhirschfeld@github.stanwell.com':\r\nremote: Counting objects: 28, done.\r\nremote: Total 28 (delta 1), reused 1 (delta 1), pack-reused 26\r\nUnpacking objects: 100% (28/28), done.\r\n```\r\n\r\n...*however* I'd like to user the BusyBox version as it fixes #1403/#1007 when running in a Windows Container.\r\n\r\nWhat I'm hoping for is a git version which both allows cloning from a host-mapped volume *and* allows entering the username/password for the credential manager."},"comment":{"url":"https://api.github.com/repos/git-for-windows/git/issues/comments/367319122","html_url":"https://github.com/git-for-windows/git/issues/1498#issuecomment-367319122","issue_url":"https://api.github.com/repos/git-for-windows/git/issues/1498","id":367319122,"user":{"login":"dscho","id":127790,"avatar_url":"https://avatars0.githubusercontent.com/u/127790?v=4","gravatar_id":"","url":"https://api.github.com/users/dscho","html_url":"https://github.com/dscho","followers_url":"https://api.github.com/users/dscho/followers","following_url":"https://api.github.com/users/dscho/following{/other_user}","gists_url":"https://api.github.com/users/dscho/gists{/gist_id}","starred_url":"https://api.github.com/users/dscho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dscho/subscriptions","organizations_url":"https://api.github.com/users/dscho/orgs","repos_url":"https://api.github.com/users/dscho/repos","events_url":"https://api.github.com/users/dscho/events{/privacy}","received_events_url":"https://api.github.com/users/dscho/received_events","type":"User","site_admin":false},"created_at":"2018-02-21T13:04:19Z","updated_at":"2018-02-21T13:04:19Z","author_association":"OWNER","body":"> C:\\> $env:GCM_INTERACTIVE='NEVER'\r\n\r\nIs this intentional? I would have expected this to tell the Git Credential Manager that it should *not* ask for the credentials..."}}
{"actor":{"display_login":"dscho"}}