git-subrepo
git-subrepo copied to clipboard
Default to subrepo option to use --no-verify
trafficstars
This closes #193, and potentially adresses #323
Since the clone / pull / ... command in git subrepo are operating on a different repo, it often doesn't make much sense to trigger the hook, e.g., pre-commit hooks in the main repo.
This PR defaults to use --no-verify flag on these related operation, and the behaviour can also be configured via
The .gitrepo file:
[subrepo]
...
verify = true # Enable hooks for this subrepo