{"action":"closed","issue":{"url":"https://api.github.com/repos/pre-commit/pre-commit/issues/392","repository_url":"https://api.github.com/repos/pre-commit/pre-commit","labels_url":"https://api.github.com/repos/pre-commit/pre-commit/issues/392/labels{/name}","comments_url":"https://api.github.com/repos/pre-commit/pre-commit/issues/392/comments","events_url":"https://api.github.com/repos/pre-commit/pre-commit/issues/392/events","html_url":"https://github.com/pre-commit/pre-commit/issues/392","id":169711948,"number":392,"title":"Staging new files","user":{"login":"gwincr11","id":289882,"avatar_url":"https://avatars.githubusercontent.com/u/289882?v=3","gravatar_id":"","url":"https://api.github.com/users/gwincr11","html_url":"https://github.com/gwincr11","followers_url":"https://api.github.com/users/gwincr11/followers","following_url":"https://api.github.com/users/gwincr11/following{/other_user}","gists_url":"https://api.github.com/users/gwincr11/gists{/gist_id}","starred_url":"https://api.github.com/users/gwincr11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gwincr11/subscriptions","organizations_url":"https://api.github.com/users/gwincr11/orgs","repos_url":"https://api.github.com/users/gwincr11/repos","events_url":"https://api.github.com/users/gwincr11/events{/privacy}","received_events_url":"https://api.github.com/users/gwincr11/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-08-05T23:04:52Z","updated_at":"2016-08-05T23:40:19Z","closed_at":"2016-08-05T23:40:19Z","body":"Hello,\r\n\r\nI am trying to build out a pre-commit script that will run a build script and ammend the new files to the commit. \r\n\r\nI can run the build script, but adding to the commit is proving difficult. I have tried running git add --all but the new files are never staged. is there a way to do this inside a pre-commit shell script?\r\n\r\nThanks,\r\nCory"}}
{"actor":{"display_login":"gwincr11"}}