[llvm-dev] [monorepo] Pre-push hook to prevent pushing merge commits
David Greene via llvm-dev
llvm-dev at lists.llvm.org
Fri Nov 9 11:44:42 PST 2018
Roman Lebedev via llvm-dev <llvm-dev at lists.llvm.org> writes:
> (I don't think you can have server-side hooks on github, so if that is required,
> the master (as in, not a mirror, but the one you commit things into)
> git monorepo can't be located on github..)
This is the main reason we did not go with a GitHub solution for our
code.
If we used a pull request model for the monorepo then review can
mitigate the kinds of problems that server-side hooks address, but of
course it's a more manual process and prone to mistakes. I understand
that a decision in that direction is orthogonal to moving to git.
-David
More information about the llvm-dev
mailing list