{"push_id":897138966,"size":2,"distinct_size":2,"ref":"refs/heads/master","head":"46d559fe5047c048d4f25574dcd13c5ba35c3279","before":"6093addd85267a2b8a95d694b7b1ed125d087b1e","commits":[{"sha":"56a814862692360fd0cb8107730750ac592b2f99","author":{"email":"2e6147cbff6661bd424c256de746b4f230002dff@gmail.com","name":"Alex Clemmer"},"message":"Windows: Added `bootstrap.bat`.\n\nReview: https://reviews.apache.org/r/40131","distinct":true,"url":"https://api.github.com/repos/apache/mesos/commits/56a814862692360fd0cb8107730750ac592b2f99"},{"sha":"46d559fe5047c048d4f25574dcd13c5ba35c3279","author":{"email":"2e6147cbff6661bd424c256de746b4f230002dff@gmail.com","name":"Alex Clemmer"},"message":"Changed commit hook linting to ignore empty diffs.\n\nOn Windows, if you attempt to commit an empty changeset, the commit\nhooks will attempt to lint the entire repository. This is because we\npass blank arguments to the call to `xargs` that kicks off the C++\nlinter (e.g., in `support/pre-commit`). In the git bash, the default\nbehavior of blank arguments is *not* to ignore them, as it is on certain\nother platforms. Note that the `-r` flag is provided to avoid this\nbehavior, but it is only available on some platforms, and hence is\ninadmissable here.\n\nHence, our solution is to check if the results of `git diff` are empty,\nand only call `mesos-style.py` if not.\n\nReview: https://reviews.apache.org/r/40195","distinct":true,"url":"https://api.github.com/repos/apache/mesos/commits/46d559fe5047c048d4f25574dcd13c5ba35c3279"}]}