{"action":"created","issue":{"url":"https://api.github.com/repos/eamodio/vscode-gitlens/issues/481","repository_url":"https://api.github.com/repos/eamodio/vscode-gitlens","labels_url":"https://api.github.com/repos/eamodio/vscode-gitlens/issues/481/labels{/name}","comments_url":"https://api.github.com/repos/eamodio/vscode-gitlens/issues/481/comments","events_url":"https://api.github.com/repos/eamodio/vscode-gitlens/issues/481/events","html_url":"https://github.com/eamodio/vscode-gitlens/issues/481","id":352196485,"node_id":"MDU6SXNzdWUzNTIxOTY0ODU=","number":481,"title":"spawn: C:\\WINDOWS\\system32\\git.exe ENOENT","user":{"login":"rokoroku","id":5208632,"node_id":"MDQ6VXNlcjUyMDg2MzI=","avatar_url":"https://avatars1.githubusercontent.com/u/5208632?v=4","gravatar_id":"","url":"https://api.github.com/users/rokoroku","html_url":"https://github.com/rokoroku","followers_url":"https://api.github.com/users/rokoroku/followers","following_url":"https://api.github.com/users/rokoroku/following{/other_user}","gists_url":"https://api.github.com/users/rokoroku/gists{/gist_id}","starred_url":"https://api.github.com/users/rokoroku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rokoroku/subscriptions","organizations_url":"https://api.github.com/users/rokoroku/orgs","repos_url":"https://api.github.com/users/rokoroku/repos","events_url":"https://api.github.com/users/rokoroku/events{/privacy}","received_events_url":"https://api.github.com/users/rokoroku/received_events","type":"User","site_admin":false},"labels":[{"id":535915655,"node_id":"MDU6TGFiZWw1MzU5MTU2NTU=","url":"https://api.github.com/repos/eamodio/vscode-gitlens/labels/needs%20more%20info","name":"needs more info","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-08-20T15:55:20Z","updated_at":"2018-09-30T04:47:26Z","closed_at":null,"author_association":"NONE","body":"<!-- Please search existing issues to avoid creating duplicates. -->\r\n<!-- Also for any git related or intermittent issues, please enable output channel logging by setting `\"gitlens.outputLevel\": \"debug\"` in your settings.json. This will enable logging to the `GitLens` & `GitLens (Git)` channels in the Output pane. Once enabled, please attempt to reproduce the issue (if possible) and attach the log lines from both channels.\r\n-->\r\n\r\n- GitLens Version: 8.5.5\r\n- VSCode Version: 1.26.0\r\n- OS Version: Windows 10.0.17134 build 17134\r\n\r\n\r\nSteps to Reproduce:\r\n\r\nI cannot use GitLens, both Windows git and WSL git\r\nFYI, my git repository is initialized from WSL (Windows Subsystem Linux, ubuntu 18).\r\n\r\nLogs:\r\n```\r\nError: spawn C:\\WINDOWS\\system32\\git.exe ENOENT\r\nGitExplorer[view=history].refresh reason='command'\r\nRunning(c:\\Users\\**censored**): git rev-parse --show-toplevel\r\nCompleted(c:\\Users\\**censored**): git rev-parse --show-toplevel Completed in 204 ms\r\ngetStatusForFile('/mnt/c/Users/**censored**', 'c:\\Users\\**censored**')\r\nRunning(/mnt/c/Users/**censored**): git -c color.status=false status --porcelain=v2 -- c:/Users/**censored**\r\nFAILED(/mnt/c/Users/**censored**): git -c color.status=false status --porcelain=v2 -- c:/Users/**censored** FAILED in 0 ms\r\ngit -c color.status=false status --porcelain=v2 -- c:/Users/**censored**   cwd='/mnt/c/**censored**'\r\n```\r\n\r\n```\r\n[2018-08-20 15:50:14:684] git rev-parse --show-toplevel Completed in 1096 ms (c:\\Users\\**censored**)\r\n[2018-08-20 15:50:18:593] git rev-parse --show-toplevel Completed in 242 ms (c:\\Users\\**censored**)\r\n[2018-08-20 15:50:18:596] git remote -v FAILED in 0 ms (/mnt/c/Users/**censored**)\r\n\r\nError: spawn C:\\bin\\wslgit.exe ENOENT\r\n[2018-08-20 15:50:18:791] git rev-parse --show-toplevel FAILED in 190 ms (c:\\Users\\**censored**)\r\n\r\nError: Command failed: C:\\bin\\wslgit.exe -c core.quotepath=false -c color.ui=false rev-parse --show-toplevel\r\nfatal: not a git repository (or any parent up to mount point /mnt)\r\nStopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).\r\n\r\n[2018-08-20 15:50:18:798] git rev-parse --show-toplevel Completed in 200 ms (c:\\Users\\**censored**)\r\n[2018-08-20 15:50:18:798] git rev-parse --show-toplevel Completed in 196 ms (c:\\Users\\**censored**)\r\n[2018-08-20 15:50:18:800] git ls-files c:\\Users\\**censored** FAILED in 1 ms (/mnt/c/Users/**censored**)\r\n\r\nError: spawn C:\\bin\\wslgit.exe ENOENT\r\n[2018-08-20 15:50:18:810] git -c color.status=false status --porcelain=v2 -- c:/Users/**censored** FAILED in 0 ms (/mnt/c/Users/**censored**)\r\n\r\nError: spawn C:\\bin\\wslgit.exe ENOENT\r\n[2018-08-20 15:50:18:984] git ls-files c:\\Users\\**censored** FAILED in 191 ms ()\r\n\r\nError: Command failed: C:\\bin\\wslgit.exe -c core.quotepath=false -c color.ui=false ls-files c:\\Users\\**censored**\r\nfatal: not a git repository (or any parent up to mount point /mnt)\r\nStopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).\r\n\r\n[2018-08-20 15:51:00:301] git rev-parse --show-toplevel Completed in 224 ms (c:\\Users\\**censored**)\r\n[2018-08-20 15:51:46:259] git rev-parse --show-toplevel Completed in 220 ms (c:\\Users\\**censored**)\r\n```"},"comment":{"url":"https://api.github.com/repos/eamodio/vscode-gitlens/issues/comments/425694450","html_url":"https://github.com/eamodio/vscode-gitlens/issues/481#issuecomment-425694450","issue_url":"https://api.github.com/repos/eamodio/vscode-gitlens/issues/481","id":425694450,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNTY5NDQ1MA==","user":{"login":"eamodio","id":641685,"node_id":"MDQ6VXNlcjY0MTY4NQ==","avatar_url":"https://avatars1.githubusercontent.com/u/641685?v=4","gravatar_id":"","url":"https://api.github.com/users/eamodio","html_url":"https://github.com/eamodio","followers_url":"https://api.github.com/users/eamodio/followers","following_url":"https://api.github.com/users/eamodio/following{/other_user}","gists_url":"https://api.github.com/users/eamodio/gists{/gist_id}","starred_url":"https://api.github.com/users/eamodio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eamodio/subscriptions","organizations_url":"https://api.github.com/users/eamodio/orgs","repos_url":"https://api.github.com/users/eamodio/repos","events_url":"https://api.github.com/users/eamodio/events{/privacy}","received_events_url":"https://api.github.com/users/eamodio/received_events","type":"User","site_admin":false},"created_at":"2018-09-30T04:47:26Z","updated_at":"2018-09-30T04:47:26Z","author_association":"OWNER","body":"@rokoroku Can you try setting the `GIT_DISCOVERY_ACROSS_FILESYSTEM` to `1` and see if it helps this issue?"}}
{"actor":{"display_login":"eamodio"}}