{"action":"created","issue":{"url":"https://api.github.com/repos/zephyrproject-rtos/west/issues/122","repository_url":"https://api.github.com/repos/zephyrproject-rtos/west","labels_url":"https://api.github.com/repos/zephyrproject-rtos/west/issues/122/labels{/name}","comments_url":"https://api.github.com/repos/zephyrproject-rtos/west/issues/122/comments","events_url":"https://api.github.com/repos/zephyrproject-rtos/west/issues/122/events","html_url":"https://github.com/zephyrproject-rtos/west/issues/122","id":383277682,"node_id":"MDU6SXNzdWUzODMyNzc2ODI=","number":122,"title":"west checkout -b should respect my current HEAD","user":{"login":"mbolivar","id":35088,"node_id":"MDQ6VXNlcjM1MDg4","avatar_url":"https://avatars3.githubusercontent.com/u/35088?v=4","gravatar_id":"","url":"https://api.github.com/users/mbolivar","html_url":"https://github.com/mbolivar","followers_url":"https://api.github.com/users/mbolivar/followers","following_url":"https://api.github.com/users/mbolivar/following{/other_user}","gists_url":"https://api.github.com/users/mbolivar/gists{/gist_id}","starred_url":"https://api.github.com/users/mbolivar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbolivar/subscriptions","organizations_url":"https://api.github.com/users/mbolivar/orgs","repos_url":"https://api.github.com/users/mbolivar/repos","events_url":"https://api.github.com/users/mbolivar/events{/privacy}","received_events_url":"https://api.github.com/users/mbolivar/received_events","type":"User","site_admin":false},"labels":[{"id":942361370,"node_id":"MDU6TGFiZWw5NDIzNjEzNzA=","url":"https://api.github.com/repos/zephyrproject-rtos/west/labels/bug","name":"bug","color":"d73a4a","default":true},{"id":1072273355,"node_id":"MDU6TGFiZWwxMDcyMjczMzU1","url":"https://api.github.com/repos/zephyrproject-rtos/west/labels/priority:%20medium","name":"priority: medium","color":"d93f0b","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-11-21T20:14:48Z","updated_at":"2018-11-21T20:39:44Z","closed_at":null,"author_association":"MEMBER","body":"If I manually make some commits in a random branch across multiple projcts, then run `west checkout -b NEWBRANCH`,  I expect NEWBRANCH to point at my current repository HEADs. However, it points at manifest-rev instead, making the behavior more like `git checkout -b NEWBRANCH manifest-rev` than `git checkout -b NEWBRANCH`.\r\n\r\nThis is confusing and annoying as now I have to go back and reset the new branches to where I wanted them to be in the first place."},"comment":{"url":"https://api.github.com/repos/zephyrproject-rtos/west/issues/comments/440801941","html_url":"https://github.com/zephyrproject-rtos/west/issues/122#issuecomment-440801941","issue_url":"https://api.github.com/repos/zephyrproject-rtos/west/issues/122","id":440801941,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MDgwMTk0MQ==","user":{"login":"ulfalizer","id":154768,"node_id":"MDQ6VXNlcjE1NDc2OA==","avatar_url":"https://avatars2.githubusercontent.com/u/154768?v=4","gravatar_id":"","url":"https://api.github.com/users/ulfalizer","html_url":"https://github.com/ulfalizer","followers_url":"https://api.github.com/users/ulfalizer/followers","following_url":"https://api.github.com/users/ulfalizer/following{/other_user}","gists_url":"https://api.github.com/users/ulfalizer/gists{/gist_id}","starred_url":"https://api.github.com/users/ulfalizer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ulfalizer/subscriptions","organizations_url":"https://api.github.com/users/ulfalizer/orgs","repos_url":"https://api.github.com/users/ulfalizer/repos","events_url":"https://api.github.com/users/ulfalizer/events{/privacy}","received_events_url":"https://api.github.com/users/ulfalizer/received_events","type":"User","site_admin":false},"created_at":"2018-11-21T20:39:44Z","updated_at":"2018-11-21T20:39:44Z","author_association":"COLLABORATOR","body":"Are we sure we want this? `west checkout -b` is our `repo start`, and is just a shorthand for `west branch` + `west checkout`. Branches created by `west branch` always start at the manifest revision as well.\r\n\r\nWhen not working against the manifest revision, you can use normal Git commands to move stuff around.\r\n\r\nI agree that the Git-like naming makes it a bit confusing in this case, but thinking functionality-wise."}}
{"actor":{"display_login":"ulfalizer"}}