{"action":"created","issue":{"url":"https://api.github.com/repos/libgit2/libgit2sharp/issues/527","labels_url":"https://api.github.com/repos/libgit2/libgit2sharp/issues/527/labels{/name}","comments_url":"https://api.github.com/repos/libgit2/libgit2sharp/issues/527/comments","events_url":"https://api.github.com/repos/libgit2/libgit2sharp/issues/527/events","html_url":"https://github.com/libgit2/libgit2sharp/pull/527","id":20583985,"number":527,"title":"FileStatus names","user":{"login":"jbialobr","id":1003909,"avatar_url":"https://avatars.githubusercontent.com/u/1003909?v=3","gravatar_id":"","url":"https://api.github.com/users/jbialobr","html_url":"https://github.com/jbialobr","followers_url":"https://api.github.com/users/jbialobr/followers","following_url":"https://api.github.com/users/jbialobr/following{/other_user}","gists_url":"https://api.github.com/users/jbialobr/gists{/gist_id}","starred_url":"https://api.github.com/users/jbialobr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbialobr/subscriptions","organizations_url":"https://api.github.com/users/jbialobr/orgs","repos_url":"https://api.github.com/users/jbialobr/repos","events_url":"https://api.github.com/users/jbialobr/events{/privacy}","received_events_url":"https://api.github.com/users/jbialobr/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/libgit2/libgit2sharp/labels/Stabilization","name":"Stabilization","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2013-10-06T18:36:52Z","updated_at":"2015-05-09T16:07:18Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/libgit2/libgit2sharp/pulls/527","html_url":"https://github.com/libgit2/libgit2sharp/pull/527","diff_url":"https://github.com/libgit2/libgit2sharp/pull/527.diff","patch_url":"https://github.com/libgit2/libgit2sharp/pull/527.patch"},"body":"Current FileStatus names are missleading. To get know what they actually stands for, you have to read the doco. I like names that apear in ligbit2. When I see such name I know that state describes change made to INDEX or WorkingTree. \r\nWe can drop `GIT_STATUS_` prefix as they are members of FileStatus.\r\nI would only use `Unmodified` instead of `Current`\r\n\r\n```\r\n\r\n\tGIT_STATUS_CURRENT = 0,\r\n\r\n\tGIT_STATUS_INDEX_NEW        = (1u << 0),\r\n\tGIT_STATUS_INDEX_MODIFIED   = (1u << 1),\r\n\tGIT_STATUS_INDEX_DELETED    = (1u << 2),\r\n\tGIT_STATUS_INDEX_RENAMED    = (1u << 3),\r\n\tGIT_STATUS_INDEX_TYPECHANGE = (1u << 4),\r\n\r\n\tGIT_STATUS_WT_NEW           = (1u << 7),\r\n\tGIT_STATUS_WT_MODIFIED      = (1u << 8),\r\n\tGIT_STATUS_WT_DELETED       = (1u << 9),\r\n\tGIT_STATUS_WT_TYPECHANGE    = (1u << 10),\r\n\tGIT_STATUS_WT_RENAMED       = (1u << 11),\r\n\r\n\tGIT_STATUS_IGNORED          = (1u << 14), \r\n```"},"comment":{"url":"https://api.github.com/repos/libgit2/libgit2sharp/issues/comments/100510751","html_url":"https://github.com/libgit2/libgit2sharp/pull/527#issuecomment-100510751","issue_url":"https://api.github.com/repos/libgit2/libgit2sharp/issues/527","id":100510751,"user":{"login":"Therzok","id":109974,"avatar_url":"https://avatars.githubusercontent.com/u/109974?v=3","gravatar_id":"","url":"https://api.github.com/users/Therzok","html_url":"https://github.com/Therzok","followers_url":"https://api.github.com/users/Therzok/followers","following_url":"https://api.github.com/users/Therzok/following{/other_user}","gists_url":"https://api.github.com/users/Therzok/gists{/gist_id}","starred_url":"https://api.github.com/users/Therzok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Therzok/subscriptions","organizations_url":"https://api.github.com/users/Therzok/orgs","repos_url":"https://api.github.com/users/Therzok/repos","events_url":"https://api.github.com/users/Therzok/events{/privacy}","received_events_url":"https://api.github.com/users/Therzok/received_events","type":"User","site_admin":false},"created_at":"2015-05-09T16:07:18Z","updated_at":"2015-05-09T16:07:18Z","body":"Not sure what caused it. Seems to be mono 4. I think something got fixed regarding this in 4.1."}}