{"action":"created","issue":{"url":"https://api.github.com/repos/git-for-windows/git/issues/1481","repository_url":"https://api.github.com/repos/git-for-windows/git","labels_url":"https://api.github.com/repos/git-for-windows/git/issues/1481/labels{/name}","comments_url":"https://api.github.com/repos/git-for-windows/git/issues/1481/comments","events_url":"https://api.github.com/repos/git-for-windows/git/issues/1481/events","html_url":"https://github.com/git-for-windows/git/issues/1481","id":294795108,"number":1481,"title":"error: cannot spawn git: Invalid argument","user":{"login":"MagicAndre1981","id":8274816,"avatar_url":"https://avatars2.githubusercontent.com/u/8274816?v=4","gravatar_id":"","url":"https://api.github.com/users/MagicAndre1981","html_url":"https://github.com/MagicAndre1981","followers_url":"https://api.github.com/users/MagicAndre1981/followers","following_url":"https://api.github.com/users/MagicAndre1981/following{/other_user}","gists_url":"https://api.github.com/users/MagicAndre1981/gists{/gist_id}","starred_url":"https://api.github.com/users/MagicAndre1981/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MagicAndre1981/subscriptions","organizations_url":"https://api.github.com/users/MagicAndre1981/orgs","repos_url":"https://api.github.com/users/MagicAndre1981/repos","events_url":"https://api.github.com/users/MagicAndre1981/events{/privacy}","received_events_url":"https://api.github.com/users/MagicAndre1981/received_events","type":"User","site_admin":false},"labels":[{"id":227172703,"url":"https://api.github.com/repos/git-for-windows/git/labels/unclear","name":"unclear","color":"fef2c0","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":33,"created_at":"2018-02-06T15:13:17Z","updated_at":"2018-02-07T12:01:05Z","closed_at":null,"author_association":"NONE","body":" - [X] I was not able to find an [open](https://github.com/git-for-windows/git/issues?q=is%3Aopen) or [closed](https://github.com/git-for-windows/git/issues?q=is%3Aclosed) issue matching what I'm seeing\r\n\r\n### Setup\r\n\r\n - Which version of Git for Windows are you using? Is it 32-bit or 64-bit? I use `Git-2.16.1.2-64-bit.exe`\r\n\r\n```\r\n$ git --version --build-options\r\ngit version 2.16.1.windows.2\r\ncpu: x86_64\r\nbuilt from commit: e78e3c8ee9c219723d60aa1bccd8348c2269b9ba\r\nsizeof-long: 4\r\n```\r\n\r\n - Which version of Windows are you running? Vista, 7, 8, 10? Is it 32-bit or 64-bit?\r\n\r\nWindows 8.1 x64\r\n\r\n```\r\n$ cmd.exe /c ver\r\nMicrosoft Windows [Version 6.3.9600]\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\n```\r\n# One of the following:\r\n> type \"C:\\Program Files\\Git\\etc\\install-options.txt\"\r\n> type \"C:\\Program Files (x86)\\Git\\etc\\install-options.txt\"\r\n> type \"%USERPROFILE%\\AppData\\Local\\Programs\\Git\\etc\\install-options.txt\"\r\n$ cat /etc/install-options.txt\r\n\r\nC:\\Users\\André> type \"C:\\Program Files\\Git\\etc\\install-options.txt\"\r\nEditor Option: Nano\r\nPath Option: Cmd\r\nSSH Option: OpenSSH\r\nCURL Option: WinSSL\r\nCRLF Option: CRLFCommitAsIs\r\nBash Terminal Option: ConHost\r\nPerformance Tweaks FSCache: Enabled\r\nUse Credential Manager: Enabled\r\nEnable Symlinks: Enabled\r\n```\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\nn/a\r\n\r\n### Details\r\n\r\n - Which terminal/shell are you running Git from? e.g Bash/CMD/PowerShell/other\r\n\r\nI get the error when using TortoiseGit to to a pull.\r\n\r\n - What commands did you run to trigger this issue? If you can provide a\r\n   [Minimal, Complete, and Verifiable example](http://stackoverflow.com/help/mcve)\r\n   this will help us understand the issue.\r\n\r\n```\r\nI get the error when using TortoiseGit to to a pull.\r\n```\r\n - What did you expect to occur after running these commands?\r\n\r\nPull works fine and I get the new changes pulled.\r\n\r\n - What actually happened instead?\r\n\r\nI get this error:\r\n\r\n```\r\ngit.exe pull --progress -v --no-rebase \"origin\"\r\n\r\nerror: cannot spawn git: Invalid argument\r\n\r\ngit did not exit cleanly (exit code 1)\r\n```\r\n\r\n - If the problem was occurring with a specific repository, can you provide the\r\n   URL to that repository to help us with testing?\r\n\r\nhappens to all cloned repositories\r\n"},"comment":{"url":"https://api.github.com/repos/git-for-windows/git/issues/comments/363748123","html_url":"https://github.com/git-for-windows/git/issues/1481#issuecomment-363748123","issue_url":"https://api.github.com/repos/git-for-windows/git/issues/1481","id":363748123,"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-07T12:01:05Z","updated_at":"2018-02-07T12:01:05Z","author_association":"OWNER","body":"> git.exe -c core.debug1481=true stash push with cmd.exe works as expected and doesn't produce any further output\r\n\r\nThat is not expected. `git.exe stash` should *always* spawn something. If it does not even show the \"spawn2 not even attempted\" message, something is really wrong, as in: this is probably not that `git.exe` you just installed from that custom installer.\r\n\r\n> The config looks like this:\r\n>\r\n> ``` \r\n> [core]\r\n>   debug1481 = true\r\n> ```\r\n\r\nIf the patched `git.exe` is running, that should indeed provide plenty of debug output."}}
{"actor":{"display_login":"dscho"}}