{"action":"created","issue":{"url":"https://api.github.com/repos/bilgi-webteam/kommit/issues/2","labels_url":"https://api.github.com/repos/bilgi-webteam/kommit/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/bilgi-webteam/kommit/issues/2/comments","events_url":"https://api.github.com/repos/bilgi-webteam/kommit/issues/2/events","html_url":"https://github.com/bilgi-webteam/kommit/issues/2","id":127897410,"number":2,"title":"Feature request: Bind commit messages to files.","user":{"login":"tofagerl","id":781189,"avatar_url":"https://avatars.githubusercontent.com/u/781189?v=3","gravatar_id":"","url":"https://api.github.com/users/tofagerl","html_url":"https://github.com/tofagerl","followers_url":"https://api.github.com/users/tofagerl/followers","following_url":"https://api.github.com/users/tofagerl/following{/other_user}","gists_url":"https://api.github.com/users/tofagerl/gists{/gist_id}","starred_url":"https://api.github.com/users/tofagerl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tofagerl/subscriptions","organizations_url":"https://api.github.com/users/tofagerl/orgs","repos_url":"https://api.github.com/users/tofagerl/repos","events_url":"https://api.github.com/users/tofagerl/events{/privacy}","received_events_url":"https://api.github.com/users/tofagerl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-21T10:50:51Z","updated_at":"2016-01-22T09:31:24Z","closed_at":null,"body":"Eg, if I just changed something in file1.md, I could use ```kommit -f file1.md -m 'Did something smart'```, and if I don't necessarily decide to commit that change right away, it would wait untill I git added file1.md.\r\n\r\nThis would also help with branches, though full branch support would be a little different. \r\n\r\nAlso, shouldn't just the command kommit infer -m ?"},"comment":{"url":"https://api.github.com/repos/bilgi-webteam/kommit/issues/comments/173860518","html_url":"https://github.com/bilgi-webteam/kommit/issues/2#issuecomment-173860518","issue_url":"https://api.github.com/repos/bilgi-webteam/kommit/issues/2","id":173860518,"user":{"login":"vigo","id":82952,"avatar_url":"https://avatars.githubusercontent.com/u/82952?v=3","gravatar_id":"","url":"https://api.github.com/users/vigo","html_url":"https://github.com/vigo","followers_url":"https://api.github.com/users/vigo/followers","following_url":"https://api.github.com/users/vigo/following{/other_user}","gists_url":"https://api.github.com/users/vigo/gists{/gist_id}","starred_url":"https://api.github.com/users/vigo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vigo/subscriptions","organizations_url":"https://api.github.com/users/vigo/orgs","repos_url":"https://api.github.com/users/vigo/repos","events_url":"https://api.github.com/users/vigo/events{/privacy}","received_events_url":"https://api.github.com/users/vigo/received_events","type":"User","site_admin":false},"created_at":"2016-01-22T09:31:24Z","updated_at":"2016-01-22T09:31:24Z","body":"Hmmm... well, we would like to keep **kommit** as simple as it can. It is like a notebook, keep the thoughts somewhere, use it when its time to do commit. If I understand correctly, we need to keep track of files if `f` provided. Also need to create another hook for analyzing file changes to pickup related **kommit** message. If user make `git add .` need to iterate over files and check if any related message available for final commit message?   "}}