{"action":"created","issue":{"url":"https://api.github.com/repos/anchor/git-vogue/issues/88","labels_url":"https://api.github.com/repos/anchor/git-vogue/issues/88/labels{/name}","comments_url":"https://api.github.com/repos/anchor/git-vogue/issues/88/comments","events_url":"https://api.github.com/repos/anchor/git-vogue/issues/88/events","html_url":"https://github.com/anchor/git-vogue/issues/88","id":57894736,"number":88,"title":"git-vogue checks workding dir files, not whas is actually commited","user":{"login":"ehamberg","id":16063,"avatar_url":"https://avatars.githubusercontent.com/u/16063?v=3","gravatar_id":"","url":"https://api.github.com/users/ehamberg","html_url":"https://github.com/ehamberg","followers_url":"https://api.github.com/users/ehamberg/followers","following_url":"https://api.github.com/users/ehamberg/following{/other_user}","gists_url":"https://api.github.com/users/ehamberg/gists{/gist_id}","starred_url":"https://api.github.com/users/ehamberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ehamberg/subscriptions","organizations_url":"https://api.github.com/users/ehamberg/orgs","repos_url":"https://api.github.com/users/ehamberg/repos","events_url":"https://api.github.com/users/ehamberg/events{/privacy}","received_events_url":"https://api.github.com/users/ehamberg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-17T08:06:23Z","updated_at":"2015-02-22T22:21:06Z","closed_at":null,"body":"(This might be related to #82.)\r\n\r\nIf I add some debugging code to some module that would not pass `git-vogue`'s checks, but exclude that when building my commit (using `git add -p`), it seems that `git-vogue` still rejects my commit.\r\n\r\nI really think `git-vogue` should only check what's actually being committed, not what my working dir happens to contain."},"comment":{"url":"https://api.github.com/repos/anchor/git-vogue/issues/comments/75466742","html_url":"https://github.com/anchor/git-vogue/issues/88#issuecomment-75466742","issue_url":"https://api.github.com/repos/anchor/git-vogue/issues/88","id":75466742,"user":{"login":"thsutton","id":62708,"avatar_url":"https://avatars.githubusercontent.com/u/62708?v=3","gravatar_id":"","url":"https://api.github.com/users/thsutton","html_url":"https://github.com/thsutton","followers_url":"https://api.github.com/users/thsutton/followers","following_url":"https://api.github.com/users/thsutton/following{/other_user}","gists_url":"https://api.github.com/users/thsutton/gists{/gist_id}","starred_url":"https://api.github.com/users/thsutton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thsutton/subscriptions","organizations_url":"https://api.github.com/users/thsutton/orgs","repos_url":"https://api.github.com/users/thsutton/repos","events_url":"https://api.github.com/users/thsutton/events{/privacy}","received_events_url":"https://api.github.com/users/thsutton/received_events","type":"User","site_admin":false},"created_at":"2015-02-22T22:21:06Z","updated_at":"2015-02-22T22:21:06Z","body":"Yeah, I expect this could be resolved by having `git-vogue` use the VCS' facilities to read files. I git we'll want to read from the index, not the file on disk. Probably using `git ls-files` and `git cat-file`."}}