gabyx / Githooks

🦎 Githooks: per-repo and shared Git hooks with version control and auto update. [✩Star] if you're using it!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

feat: Submodules execute post-checkout without updating shared hooks

gabyx opened this issue · comments

Unfortunately git submodule update --init will not execute the update shared hooks because its guarded on 000...0000 1. argument (works on only on normal clones and not on git submodule update --init which does a no-checkout clone etc.

Maybe we should create a file in .git/.githooks-shared-update-on-clone to only execute the shared update once on clone which would work also on submodules.

Done in #109