Repository navigation
Commit 16a1b9e
committed
fix(pre-commit-hooks): allow empty ranges in 'commitizen-branch'
Details: Force-pushing a branch back to an older commit pushes no new
commits, so the range is empty and 'cz check' blocks the push:
> No commit found with range: '...'
Ignore this error (exit code 3) with '--no-raise 3'.
Invalid commit messages are still rejected.
---
Signed-off-by: Adrian DC <radian.dc@gmail.com>1 parent 51ada02 commit 16a1b9e
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
0 commit comments