Skip to content

Commit d214704

Browse files
committed
Revert "fix(pre-commit-hooks): remove magic constants on pre-push hook (#1815)"
This reverts commit 047c914.
1 parent ad35515 commit d214704

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.pre-commit-hooks.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
the fact (e.g., pre-push or in CI) without an expensive check of the entire
2020
repository history.
2121
entry: cz check
22-
args: [--rev-range, "$PRE_COMMIT_TO_REF $PRE_COMMIT_FROM_REF"]
22+
args: [--rev-range, origin/HEAD..HEAD]
2323
always_run: true
2424
pass_filenames: false
2525
language: python

0 commit comments

Comments
 (0)