{"action":"created","issue":{"url":"https://api.github.com/repos/Homebrew/brew/issues/1062","repository_url":"https://api.github.com/repos/Homebrew/brew","labels_url":"https://api.github.com/repos/Homebrew/brew/issues/1062/labels{/name}","comments_url":"https://api.github.com/repos/Homebrew/brew/issues/1062/comments","events_url":"https://api.github.com/repos/Homebrew/brew/issues/1062/events","html_url":"https://github.com/Homebrew/brew/issues/1062","id":178368283,"number":1062,"title":"git can't update paths and switch to branch at the same time during installation","user":{"login":"omtcyfz","id":3352968,"avatar_url":"https://avatars.githubusercontent.com/u/3352968?v=3","gravatar_id":"","url":"https://api.github.com/users/omtcyfz","html_url":"https://github.com/omtcyfz","followers_url":"https://api.github.com/users/omtcyfz/followers","following_url":"https://api.github.com/users/omtcyfz/following{/other_user}","gists_url":"https://api.github.com/users/omtcyfz/gists{/gist_id}","starred_url":"https://api.github.com/users/omtcyfz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omtcyfz/subscriptions","organizations_url":"https://api.github.com/users/omtcyfz/orgs","repos_url":"https://api.github.com/users/omtcyfz/repos","events_url":"https://api.github.com/users/omtcyfz/events{/privacy}","received_events_url":"https://api.github.com/users/omtcyfz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"MikeMcQuaid","id":125011,"avatar_url":"https://avatars.githubusercontent.com/u/125011?v=3","gravatar_id":"","url":"https://api.github.com/users/MikeMcQuaid","html_url":"https://github.com/MikeMcQuaid","followers_url":"https://api.github.com/users/MikeMcQuaid/followers","following_url":"https://api.github.com/users/MikeMcQuaid/following{/other_user}","gists_url":"https://api.github.com/users/MikeMcQuaid/gists{/gist_id}","starred_url":"https://api.github.com/users/MikeMcQuaid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MikeMcQuaid/subscriptions","organizations_url":"https://api.github.com/users/MikeMcQuaid/orgs","repos_url":"https://api.github.com/users/MikeMcQuaid/repos","events_url":"https://api.github.com/users/MikeMcQuaid/events{/privacy}","received_events_url":"https://api.github.com/users/MikeMcQuaid/received_events","type":"User","site_admin":true},"assignees":[{"login":"MikeMcQuaid","id":125011,"avatar_url":"https://avatars.githubusercontent.com/u/125011?v=3","gravatar_id":"","url":"https://api.github.com/users/MikeMcQuaid","html_url":"https://github.com/MikeMcQuaid","followers_url":"https://api.github.com/users/MikeMcQuaid/followers","following_url":"https://api.github.com/users/MikeMcQuaid/following{/other_user}","gists_url":"https://api.github.com/users/MikeMcQuaid/gists{/gist_id}","starred_url":"https://api.github.com/users/MikeMcQuaid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MikeMcQuaid/subscriptions","organizations_url":"https://api.github.com/users/MikeMcQuaid/orgs","repos_url":"https://api.github.com/users/MikeMcQuaid/repos","events_url":"https://api.github.com/users/MikeMcQuaid/events{/privacy}","received_events_url":"https://api.github.com/users/MikeMcQuaid/received_events","type":"User","site_admin":true}],"milestone":null,"comments":8,"created_at":"2016-09-21T14:44:54Z","updated_at":"2016-09-21T15:09:39Z","closed_at":null,"body":"While installing `homebrew` I got the following message:\r\n\r\n```\r\nCloning into '/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core'...\r\nremote: Counting objects: 3725, done.\r\nremote: Compressing objects: 100% (3617/3617), done.\r\nremote: Total 3725 (delta 15), reused 1250 (delta 0), pack-reused 0\r\nReceiving objects: 100% (3725/3725), 2.91 MiB | 2.22 MiB/s, done.\r\nResolving deltas: 100% (15/15), done.\r\nChecking connectivity... done.\r\nTapped 3604 formulae (3,752 files, 9M)\r\nChecking out v1.0.0 in /usr/local/Homebrew...\r\nTo checkout master in /usr/local/Homebrew run:\r\n  'cd /usr/local/Homebrew && git checkout master\r\nChecking out v1.0.0 in /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core...\r\nTo checkout master in /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core run:\r\n  'cd /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core && git checkout master\r\nfatal: Cannot update paths and switch to branch 'v1.0.0' at the same time.\r\nDid you intend to checkout 'refs/tags/1.0.0' which can not be resolved as commit?\r\nfatal: Needed a single revision\r\ninvalid upstream refs/tags/1.0.0\r\nAlready up-to-date.\r\n```\r\n\r\nEverything seems to be working, though.\r\n\r\nIs this behaviour kind of intended?"},"comment":{"url":"https://api.github.com/repos/Homebrew/brew/issues/comments/248642078","html_url":"https://github.com/Homebrew/brew/issues/1062#issuecomment-248642078","issue_url":"https://api.github.com/repos/Homebrew/brew/issues/1062","id":248642078,"user":{"login":"MikeMcQuaid","id":125011,"avatar_url":"https://avatars.githubusercontent.com/u/125011?v=3","gravatar_id":"","url":"https://api.github.com/users/MikeMcQuaid","html_url":"https://github.com/MikeMcQuaid","followers_url":"https://api.github.com/users/MikeMcQuaid/followers","following_url":"https://api.github.com/users/MikeMcQuaid/following{/other_user}","gists_url":"https://api.github.com/users/MikeMcQuaid/gists{/gist_id}","starred_url":"https://api.github.com/users/MikeMcQuaid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MikeMcQuaid/subscriptions","organizations_url":"https://api.github.com/users/MikeMcQuaid/orgs","repos_url":"https://api.github.com/users/MikeMcQuaid/repos","events_url":"https://api.github.com/users/MikeMcQuaid/events{/privacy}","received_events_url":"https://api.github.com/users/MikeMcQuaid/received_events","type":"User","site_admin":true},"created_at":"2016-09-21T15:09:39Z","updated_at":"2016-09-21T15:09:39Z","body":"I've [tagged 1.0.1](https://github.com/Homebrew/brew/releases/tag/1.0.1) which should address this with a `brew update` (or two). Please let me know in here if it takes two or if that still isn't enough (in which case try `brew update --force` and then post in here)."}}
{"actor":{"display_login":"MikeMcQuaid"}}