diff --git a/check-dead-code.sh b/check-dead-code.sh index a8d604d..5ad1db0 100755 --- a/check-dead-code.sh +++ b/check-dead-code.sh @@ -5,10 +5,14 @@ # Consumed by other repos as a pre-commit hook, pinned by rev: # # - repo: https://github.com/offworldlabs/ops -# rev: dead-code-v1.0 +# rev: # hooks: # - id: dead-code # +# No version is named here on purpose. This file is frozen inside whatever tag +# a consumer pinned, so any version written here is guaranteed wrong for every +# release after it. The README on main is the current reference. +# # Do not vendor this file. Change it here, publish a dead-code-v. # tag (the dot matters — pre-commit warns "mutable reference" without one), then # bump rev in the consumers (`pre-commit autoupdate` does that for you).