When merge-commits are uploaded to Gerrit, the merged commits have
usually either already been reviewed elsewhere (in another branch), or
may contain automatically-generated commits that would probably not pass
the pre-upload checks (e.g. lacking a Bug: tag). This change makes it so
that the merge commits are not checked by the hooks, but the
merge-commit itself is.
Bug: 31926893
Test: repo upload
Change-Id: Ic25127fdbaea651cd4bb14e250c26ffe9aa064ad
This allows individual projects to enable clang-format pre-upload hook
without worrying about the paths of the various tools.
Bug: 26800693
Test: Added a PREUPLOAD.cfg in external/minijail, got a warning.
Change-Id: Ia9ee738ad3305934e8e6ca50261f96ca3ab30852
This doesn't turn on anything (yet), just includes some guidelines for
people who are thinking about changing/enabling things.
Bug: 29606287
Test: `repo upload` still works
Change-Id: I397f53aed417fe9bfd1a00dac2d0d5b380f66e10