git-subrepo icon indicating copy to clipboard operation
git-subrepo copied to clipboard

Default to subrepo option to use --no-verify

Open soraxas opened this issue 3 weeks ago • 3 comments
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

soraxas avatar Oct 26 '25 01:10 soraxas