Skip to content

Disable githoooks for git annex commits

James Lopez requested to merge fix/git-annex-githooks into master

Fixes https://gitlab.com/gitlab-org/gitlab-ee/issues/40

This fix checks if the commit SHA is also in one of the synced git-annex branches, which means that it should safely skip git hooks. This may not work with multiple commits to the synced branch

These git-annex commits also consistently have a message starting with git-annex blah... Using this, as probability of false positives is very low.

Merge request reports