{"action":"created","issue":{"url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/issues/3991","labels_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/issues/3991/labels{/name}","comments_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/issues/3991/comments","events_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/issues/3991/events","html_url":"https://github.com/robbyrussell/oh-my-zsh/issues/3991","id":87342422,"number":3991,"title":"Strange `ggpnp` behaviour","user":{"login":"shark0der","id":528959,"avatar_url":"https://avatars.githubusercontent.com/u/528959?v=3","gravatar_id":"","url":"https://api.github.com/users/shark0der","html_url":"https://github.com/shark0der","followers_url":"https://api.github.com/users/shark0der/followers","following_url":"https://api.github.com/users/shark0der/following{/other_user}","gists_url":"https://api.github.com/users/shark0der/gists{/gist_id}","starred_url":"https://api.github.com/users/shark0der/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shark0der/subscriptions","organizations_url":"https://api.github.com/users/shark0der/orgs","repos_url":"https://api.github.com/users/shark0der/repos","events_url":"https://api.github.com/users/shark0der/events{/privacy}","received_events_url":"https://api.github.com/users/shark0der/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-11T13:14:27Z","updated_at":"2015-06-11T15:16:41Z","closed_at":null,"body":"As discussed with @ncanceill [in the comments](https://github.com/robbyrussell/oh-my-zsh/commit/5b75cc7880de1931a0507800d90eb77ed659fa46#commitcomment-11623364), `ggpnp` has a weird behaviour when being launched for the first time in a zsh session on a repository.\r\nThe first part runs (`ggl`) runs well but the second part (`ggp`) fails with a \"fatal: remote part of refspec is not a valid name in\" error. If I run `ggl` or `ggp` alone, then I run `ggpnp` - everything works fine.\r\n\r\nSee the comment thread in the code for more details and attempts to debug the issue."},"comment":{"url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/issues/comments/111169525","html_url":"https://github.com/robbyrussell/oh-my-zsh/issues/3991#issuecomment-111169525","issue_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/issues/3991","id":111169525,"user":{"login":"ncanceill","id":1941221,"avatar_url":"https://avatars.githubusercontent.com/u/1941221?v=3","gravatar_id":"","url":"https://api.github.com/users/ncanceill","html_url":"https://github.com/ncanceill","followers_url":"https://api.github.com/users/ncanceill/followers","following_url":"https://api.github.com/users/ncanceill/following{/other_user}","gists_url":"https://api.github.com/users/ncanceill/gists{/gist_id}","starred_url":"https://api.github.com/users/ncanceill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ncanceill/subscriptions","organizations_url":"https://api.github.com/users/ncanceill/orgs","repos_url":"https://api.github.com/users/ncanceill/repos","events_url":"https://api.github.com/users/ncanceill/events{/privacy}","received_events_url":"https://api.github.com/users/ncanceill/received_events","type":"User","site_admin":false},"created_at":"2015-06-11T15:16:41Z","updated_at":"2015-06-11T15:16:41Z","body":"OK I think I figured this out, would you be so kind as to fetch my fork and cherry-pick f513999 to see if it fixes your issue?"}}