Commit hooks in git exist, but *locally*. You can install them on your own repository. If you write such a scripy, feel free to share it so others can benefit!
On 16 Oct 2017 12:38 pm, "Colin Finck" colin@reactos.org wrote:
Am 16.10.2017 um 12:22 schrieb Hermès BÉLUSCA - MAÏTO:> After having noticed
https://github.com/reactos/reactos/commit/50ae5e7c5268222718174221366169
e2b115b06a
I am wondering whether it is possible to add mechanisms (like git pre-commit hooks) that check for, and prevent potential problematic commits like, commits without commit log, or commits with no files (but with a log).
Not using GitHub. But you are all more than welcome to request that feature independent of each other and maybe they consider it for the future :)
It may be possible though that we ship a number of client-side Git hooks and settings with RosBE. Setting "pull.rebase=1" by default may be another candidate.
- Colin
Ros-dev mailing list Ros-dev@reactos.org http://www.reactos.org/mailman/listinfo/ros-dev