{"push_id":715874244,"size":2,"distinct_size":2,"ref":"refs/heads/master","head":"82d522022dd9c27b2c0fee955bae17172ce32e5a","before":"6c88cafc2cb0feea96c12a85437f4d770ab892fc","commits":[{"sha":"317047a4f8302d1cc9add9e6b991970887eeecac","author":{"email":"6f6e68d1df92f30cb4b3ce35260ddf94a402f33d@dasilva.io","name":"Shane da Silva"},"message":"Add support for splitting long lists of arguments\n\nWhen dealing with repositories with a large number of files, a problem\nthat sometimes appears is a long list of files being passed to a\nparticular command. Since operating systems have different limitations\naround how long a single command can be, we need a way to split up long\ncommands into multiple smaller commands.\n\n`xargs` is a tool that does this wonderfully, but requires that the tool\nbe explicitly installed on systems that don't have it (like Windows).\nTo implement a cross-platform solution, we need to provide our own (much\nsimpler) implementation of `xargs` so the `execute` utility helper can\ntransparently split up long argument lists without hook authors needing\nto know the details.","distinct":true,"url":"https://api.github.com/repos/brigade/overcommit/commits/317047a4f8302d1cc9add9e6b991970887eeecac"},{"sha":"82d522022dd9c27b2c0fee955bae17172ce32e5a","author":{"email":"6f6e68d1df92f30cb4b3ce35260ddf94a402f33d@dasilva.io","name":"Shane da Silva"},"message":"Fix grep-based hooks to work with long file lists\n\nNow that the `execute` helper supports passing in a separate list of\nsplittable arguments, we can use that version to avoid issues with long\nlists of files exceeding the maximum command length for the operating\nsystem.","distinct":true,"url":"https://api.github.com/repos/brigade/overcommit/commits/82d522022dd9c27b2c0fee955bae17172ce32e5a"}]}