{"action":"created","issue":{"url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/issues/7133","repository_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh","labels_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/issues/7133/labels{/name}","comments_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/issues/7133/comments","events_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/issues/7133/events","html_url":"https://github.com/robbyrussell/oh-my-zsh/issues/7133","id":359455199,"node_id":"MDU6SXNzdWUzNTk0NTUxOTk=","number":7133,"title":"Git checkout branch-name tab completion does not work on a dirty repository","user":{"login":"tallen1983","id":7543608,"node_id":"MDQ6VXNlcjc1NDM2MDg=","avatar_url":"https://avatars0.githubusercontent.com/u/7543608?v=4","gravatar_id":"","url":"https://api.github.com/users/tallen1983","html_url":"https://github.com/tallen1983","followers_url":"https://api.github.com/users/tallen1983/followers","following_url":"https://api.github.com/users/tallen1983/following{/other_user}","gists_url":"https://api.github.com/users/tallen1983/gists{/gist_id}","starred_url":"https://api.github.com/users/tallen1983/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tallen1983/subscriptions","organizations_url":"https://api.github.com/users/tallen1983/orgs","repos_url":"https://api.github.com/users/tallen1983/repos","events_url":"https://api.github.com/users/tallen1983/events{/privacy}","received_events_url":"https://api.github.com/users/tallen1983/received_events","type":"User","site_admin":false},"labels":[{"id":349641840,"node_id":"MDU6TGFiZWwzNDk2NDE4NDA=","url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/labels/completion","name":"completion","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-09-12T12:22:54Z","updated_at":"2018-09-12T20:57:35Z","closed_at":null,"author_association":"NONE","body":"If you have a dirty repository (ie a file has been edited) tab completion no longer works for git checkout's branch name. Full reproduction steps:\r\n\r\n```\r\nmkdir git_checkout_tab_completion\r\ncd git_checkout_tab_completion\r\ngit init\r\ntouch README\r\ngit add README\r\ngit commit -m \"README\"\r\ngit branch topic/foo\r\n# this works and sets the command line to \"git checkout topic/foo\"\r\ngit checkout topic/<tab>\r\ngit checkout master\r\necho \"a\" >README\r\n# this one resets the command line back to \"git checkout topic\"\r\ngit checkout topic/<tab>\r\n```\r\n\r\nThe `Ctrl+x` `?` completion debug is [here](https://gist.github.com/tallen1983/9f5ba79102a039cde03e3b83227002c9)"},"comment":{"url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/issues/comments/420795196","html_url":"https://github.com/robbyrussell/oh-my-zsh/issues/7133#issuecomment-420795196","issue_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/issues/7133","id":420795196,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMDc5NTE5Ng==","user":{"login":"mcornella","id":1441704,"node_id":"MDQ6VXNlcjE0NDE3MDQ=","avatar_url":"https://avatars1.githubusercontent.com/u/1441704?v=4","gravatar_id":"","url":"https://api.github.com/users/mcornella","html_url":"https://github.com/mcornella","followers_url":"https://api.github.com/users/mcornella/followers","following_url":"https://api.github.com/users/mcornella/following{/other_user}","gists_url":"https://api.github.com/users/mcornella/gists{/gist_id}","starred_url":"https://api.github.com/users/mcornella/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcornella/subscriptions","organizations_url":"https://api.github.com/users/mcornella/orgs","repos_url":"https://api.github.com/users/mcornella/repos","events_url":"https://api.github.com/users/mcornella/events{/privacy}","received_events_url":"https://api.github.com/users/mcornella/received_events","type":"User","site_admin":false},"created_at":"2018-09-12T20:57:35Z","updated_at":"2018-09-12T20:57:35Z","author_association":"COLLABORATOR","body":"What plugins do you have installed?"}}
{"actor":{"display_login":"mcornella"}}