payload: {"action":"created","issue":{"url":"https://api.github.com/repos/bhilburn/powerlevel9k/issues/1209","repository_url":"https://api.github.com/repos/bhilburn/powerlevel9k","labels_url":"https://api.github.com/repos/bhilburn/powerlevel9k/issues/1209/labels{/name}","comments_url":"https://api.github.com/repos/bhilburn/powerlevel9k/issues/1209/comments","events_url":"https://api.github.com/repos/bhilburn/powerlevel9k/issues/1209/events","html_url":"https://github.com/bhilburn/powerlevel9k/issues/1209","id":421575345,"node_id":"MDU6SXNzdWU0MjE1NzUzNDU=","number":1209,"title":"vcs segment shows incorrect remote branch when tracking remote isn't called \"origin\"","user":{"login":"romkatv","id":1282067,"node_id":"MDQ6VXNlcjEyODIwNjc=","avatar_url":"https://avatars2.githubusercontent.com/u/1282067?v=4","gravatar_id":"","url":"https://api.github.com/users/romkatv","html_url":"https://github.com/romkatv","followers_url":"https://api.github.com/users/romkatv/followers","following_url":"https://api.github.com/users/romkatv/following{/other_user}","gists_url":"https://api.github.com/users/romkatv/gists{/gist_id}","starred_url":"https://api.github.com/users/romkatv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/romkatv/subscriptions","organizations_url":"https://api.github.com/users/romkatv/orgs","repos_url":"https://api.github.com/users/romkatv/repos","events_url":"https://api.github.com/users/romkatv/events{/privacy}","received_events_url":"https://api.github.com/users/romkatv/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2019-03-15T15:28:13Z","updated_at":"2019-04-10T14:24:06Z","closed_at":null,"author_association":"NONE","body":"Tested on master with the default config.\r\n\r\n1. Clone a repo from github.\r\n2. `cd` into it.\r\n3. `git remote rename origin source`\r\n\r\nExpected: There is no remote branch in the vcs prompt (because remote is the same as local).\r\nActual: vcs prompt shows remote branch \"source/master\".\r\n"},"comment":{"url":"https://api.github.com/repos/bhilburn/powerlevel9k/issues/comments/481712636","html_url":"https://github.com/bhilburn/powerlevel9k/issues/1209#issuecomment-481712636","issue_url":"https://api.github.com/repos/bhilburn/powerlevel9k/issues/1209","id":481712636,"node_id":"MDEyOklzc3VlQ29tbWVudDQ4MTcxMjYzNg==","user":{"login":"dritter","id":1544760,"node_id":"MDQ6VXNlcjE1NDQ3NjA=","avatar_url":"https://avatars2.githubusercontent.com/u/1544760?v=4","gravatar_id":"","url":"https://api.github.com/users/dritter","html_url":"https://github.com/dritter","followers_url":"https://api.github.com/users/dritter/followers","following_url":"https://api.github.com/users/dritter/following{/other_user}","gists_url":"https://api.github.com/users/dritter/gists{/gist_id}","starred_url":"https://api.github.com/users/dritter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dritter/subscriptions","organizations_url":"https://api.github.com/users/dritter/orgs","repos_url":"https://api.github.com/users/dritter/repos","events_url":"https://api.github.com/users/dritter/events{/privacy}","received_events_url":"https://api.github.com/users/dritter/received_events","type":"User","site_admin":false},"created_at":"2019-04-10T14:24:06Z","updated_at":"2019-04-10T14:24:06Z","author_association":"COLLABORATOR","body":"@Syphdias agreed on idea 1. That should be a new feature.\r\n\r\nAnd about your second idea: I wouldn't change the `vcs` segment.\r\n\r\n@romkatv in gitstatus you strip away the remote name. So could we distinguish between the remotes? Coming back to my initial example: if I track a branch `next` from remote `x` and name that `next` locally, is there a difference between `VCS_STATUS_REMOTE_BRANCH` and `VCS_STATUS_LOCAL_BRANCH`? I can't check that, currently on my phone.."}}
other: {"actor":{"display_login":"dritter"}}