libcamera/utils/hooks
Laurent Pinchart 40d9947781 utils: hooks: pre-push: Check push to integration/* branches
Branches named integration/* are candidates for merge in the master
branch. Subject them to the same checks in the pre-push git hook.

An important difference between integration branches and the master
branch is that the former are typically created as new branches. We
can't check the whole history as there are known bad commits, so we have
to identify the base commit for the integration branch. The best
approximation is to use the remote master branch for the tree being
pushed to.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
2021-10-19 13:14:54 +03:00
..
post-commit licenses: Add SPDX headers to the git commit hook scripts 2020-04-15 19:51:56 +03:00
pre-commit licenses: Add SPDX headers to the git commit hook scripts 2020-04-15 19:51:56 +03:00
pre-push utils: hooks: pre-push: Check push to integration/* branches 2021-10-19 13:14:54 +03:00