{"action":"opened","issue":{"url":"https://api.github.com/repos/larshp/abapGit/issues/337","repository_url":"https://api.github.com/repos/larshp/abapGit","labels_url":"https://api.github.com/repos/larshp/abapGit/issues/337/labels{/name}","comments_url":"https://api.github.com/repos/larshp/abapGit/issues/337/comments","events_url":"https://api.github.com/repos/larshp/abapGit/issues/337/events","html_url":"https://github.com/larshp/abapGit/issues/337","id":176174834,"number":337,"title":"Data loss when switching branches","user":{"login":"sbcgua","id":15635498,"avatar_url":"https://avatars.githubusercontent.com/u/15635498?v=3","gravatar_id":"","url":"https://api.github.com/users/sbcgua","html_url":"https://github.com/sbcgua","followers_url":"https://api.github.com/users/sbcgua/followers","following_url":"https://api.github.com/users/sbcgua/following{/other_user}","gists_url":"https://api.github.com/users/sbcgua/gists{/gist_id}","starred_url":"https://api.github.com/users/sbcgua/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbcgua/subscriptions","organizations_url":"https://api.github.com/users/sbcgua/orgs","repos_url":"https://api.github.com/users/sbcgua/repos","events_url":"https://api.github.com/users/sbcgua/events{/privacy}","received_events_url":"https://api.github.com/users/sbcgua/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-10T11:21:44Z","updated_at":"2016-09-10T11:21:44Z","closed_at":null,"body":"Repeatable case\r\nBranches: master, branchA - current is master\r\n2+ objects in repo\r\n\r\n1. program 1 changed in repo online\r\n2. program 2 is changed locally\r\n3. abapGit displays 2 diffs and just Pull (a bit misleading btw)\r\n4. I switch branch to branchA (which does not have local change of p2)\r\n5. Answer No on \"It looks like object xxx has been modified locally, overwrite object?\"\r\n6. Branch switched, p2 preserved - good (although arguable logic by the way - p2 may differ between branchA and master also)\r\n7. Now I switch back to master\r\n8. the message about \"modified locally\" does not appear, p2 is silently overwritten\r\nremaining repo state - both p1 and p2 display diff button (both are empty) and Stage is displayed.\r\n\r\n"}}
{"actor":{"display_login":"sbcgua"}}