Title: fix(pre-commit-hooks)!: allow empty ranges in 'commitizen-branch' by AdrianDC · Pull Request #1209 · commitizen-tools/commitizen · GitHub
Open Graph Title: fix(pre-commit-hooks)!: allow empty ranges in 'commitizen-branch' by AdrianDC · Pull Request #1209 · commitizen-tools/commitizen
X Title: fix(pre-commit-hooks)!: allow empty ranges in 'commitizen-branch' by AdrianDC · Pull Request #1209 · commitizen-tools/commitizen
Description: Description fix(pre-commit-hooks)!: move 'check' to 'args' for global options Details: 'args: [...]' is not able to access '-nr NO_RAISE' global arguments for example from a arguments configuration fix(pre-commit-hooks)!: allow empty ranges in 'commitizen-branch' Details: Pushing the same history from 'develop' to 'staging' for example fails because range 'origin/HEAD..HEAD' is empty No commit found with range: 'origin/HEAD..HEAD' Checklist Add test cases to all the changes you introduce Run ./scripts/format and ./scripts/test locally to ensure this change passes linter check and test Test the changes on the local machine manually Update the documentation for the changes Expected behavior Error No commit found with range: 'origin/HEAD..HEAD' not raised Steps to Test This Pull Request Push same history to develop then staging
Open Graph Description: Description fix(pre-commit-hooks)!: move 'check' to 'args' for global options Details: 'args: [...]' is not able to access '-nr NO_RAISE' global arguments for exampl...
X Description: Description fix(pre-commit-hooks)!: move 'check' to 'args' for global options Details: 'args: [...]' is not able to access '-nr NO_RAISE&...
Opengraph URL: https://github.com/commitizen-tools/commitizen/pull/1209
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:7951d0cb-24c1-b262-2f29-a90bb9c82939 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A6C6:1DFAA9:6B3D875:8AAB443:69758CA1 |
| html-safe-nonce | 62c2714d69498930cf15c52c891dc58bdd5253edd45735864417df955ed3b515 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNkM2OjFERkFBOTo2QjNEODc1OjhBQUI0NDM6Njk3NThDQTEiLCJ2aXNpdG9yX2lkIjoiODQwODY3NzYyNjc3MzIwODY1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 5b3979c9f56b1a4c335a05a913807d31108a2a3cae5b4d88e71e9afb92ac2f44 |
| hovercard-subject-tag | pull_request:2021773206 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/commitizen-tools/commitizen/pull/1209/files |
| twitter:image | https://avatars.githubusercontent.com/u/1855502?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1855502?s=400&v=4 |
| og:image:alt | Description fix(pre-commit-hooks)!: move 'check' to 'args' for global options Details: 'args: [...]' is not able to access '-nr NO_RAISE' global arguments for exampl... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4a4bf5f4e28041a9d2e5c107d7d20b78b4294ba261cab243b28167c16a623a1f |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/commitizen-tools/commitizen git https://github.com/commitizen-tools/commitizen.git |
| octolytics-dimension-user_id | 62252524 |
| octolytics-dimension-user_login | commitizen-tools |
| octolytics-dimension-repository_id | 106127589 |
| octolytics-dimension-repository_nwo | commitizen-tools/commitizen |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 106127589 |
| octolytics-dimension-repository_network_root_nwo | commitizen-tools/commitizen |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 488b30e96dfd057fbbe44c6665ccbc030b729dde |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width