{"action":"created","issue":{"url":"https://api.github.com/repos/christiangalsterer/stash-filehooks-plugin/issues/11","labels_url":"https://api.github.com/repos/christiangalsterer/stash-filehooks-plugin/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/christiangalsterer/stash-filehooks-plugin/issues/11/comments","events_url":"https://api.github.com/repos/christiangalsterer/stash-filehooks-plugin/issues/11/events","html_url":"https://github.com/christiangalsterer/stash-filehooks-plugin/issues/11","id":126621923,"number":11,"title":"Do not reject push with big file deletions","user":{"login":"ekho","id":374426,"avatar_url":"https://avatars.githubusercontent.com/u/374426?v=3","gravatar_id":"","url":"https://api.github.com/users/ekho","html_url":"https://github.com/ekho","followers_url":"https://api.github.com/users/ekho/followers","following_url":"https://api.github.com/users/ekho/following{/other_user}","gists_url":"https://api.github.com/users/ekho/gists{/gist_id}","starred_url":"https://api.github.com/users/ekho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ekho/subscriptions","organizations_url":"https://api.github.com/users/ekho/orgs","repos_url":"https://api.github.com/users/ekho/repos","events_url":"https://api.github.com/users/ekho/events{/privacy}","received_events_url":"https://api.github.com/users/ekho/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-01-14T10:17:48Z","updated_at":"2016-01-20T07:46:38Z","closed_at":null,"body":"```\r\ndd if=/dev/zero of=big.file bs=1024k count=1 # creating \"big\" file\r\ngit add big.file\r\ngit commit -m \"+ big.file\"\r\ngit push\r\n# enable hook with limit 1024 bytes\r\ngit rm big.file\r\ngit commit -m \"- big.file\"\r\ngit push\r\n```\r\n\r\nremote: =================================\r\nremote: File [big.file] is too large. Maximum allowed file size is 1024 bytes\r\nremote: =================================\r\nTo ssh://git@git.example.com:7999/test/test.git\r\n ! [remote rejected] master -> master (pre-receive hook declined)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/christiangalsterer/stash-filehooks-plugin/issues/comments/173120548","html_url":"https://github.com/christiangalsterer/stash-filehooks-plugin/issues/11#issuecomment-173120548","issue_url":"https://api.github.com/repos/christiangalsterer/stash-filehooks-plugin/issues/11","id":173120548,"user":{"login":"ekho","id":374426,"avatar_url":"https://avatars.githubusercontent.com/u/374426?v=3","gravatar_id":"","url":"https://api.github.com/users/ekho","html_url":"https://github.com/ekho","followers_url":"https://api.github.com/users/ekho/followers","following_url":"https://api.github.com/users/ekho/following{/other_user}","gists_url":"https://api.github.com/users/ekho/gists{/gist_id}","starred_url":"https://api.github.com/users/ekho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ekho/subscriptions","organizations_url":"https://api.github.com/users/ekho/orgs","repos_url":"https://api.github.com/users/ekho/repos","events_url":"https://api.github.com/users/ekho/events{/privacy}","received_events_url":"https://api.github.com/users/ekho/received_events","type":"User","site_admin":false},"created_at":"2016-01-20T07:46:38Z","updated_at":"2016-01-20T07:46:38Z","body":"Latest available at marketplace - 2.1.1\r\n![_051](https://cloud.githubusercontent.com/assets/374426/12442679/0cc76a1c-bf63-11e5-8e48-ee5e69bc2a3a.png)\r\n"}}