Title: refactor(config): replace is_empty_config with contains_commitizen_section, improve multi config resolution algorithm by bearomorphism · Pull Request #1842 · commitizen-tools/commitizen · GitHub
Open Graph Title: refactor(config): replace is_empty_config with contains_commitizen_section, improve multi config resolution algorithm by bearomorphism · Pull Request #1842 · commitizen-tools/commitizen
X Title: refactor(config): replace is_empty_config with contains_commitizen_section, improve multi config resolution algorithm by bearomorphism · Pull Request #1842 · commitizen-tools/commitizen
Description: Fixed incorrectly used samefile Removed unnecessary same file check in _resolve_config_candidates. The tests already covered the cases "same git repo root and cwd" so it should not be broken after merging this PR. Separate "empty configuration" detection and _parse_settings Why removing is_empty_config? Hmm, I believe a stateless function is easier to read in this case.
Open Graph Description: Fixed incorrectly used samefile Removed unnecessary same file check in _resolve_config_candidates. The tests already covered the cases "same git repo root and cwd" so it should not be bro...
X Description: Fixed incorrectly used samefile Removed unnecessary same file check in _resolve_config_candidates. The tests already covered the cases "same git repo root and cwd" so it should no...
Opengraph URL: https://github.com/commitizen-tools/commitizen/pull/1842
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:7f792386-0dd6-4e2e-f844-17b2e2707e61 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E4FA:10F0C1:CED6B3:12E2CF1:6A4E28BA |
| html-safe-nonce | 71ab4262c434a4e231b97080fd56d56357ebcd166f3db92f993fa2198c08b56a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNEZBOjEwRjBDMTpDRUQ2QjM6MTJFMkNGMTo2QTRFMjhCQSIsInZpc2l0b3JfaWQiOiIyMTIyNjkwNzE5MTM5MTEzMTQ2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | a12f27a7d62648ef92b777c71ac5106418ff743bf3b36677269dda8cda379a29 |
| hovercard-subject-tag | pull_request:3237563696 |
| 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/1842/files |
| twitter:image | https://avatars.githubusercontent.com/u/26526132?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/26526132?s=400&v=4 |
| og:image:alt | Fixed incorrectly used samefile Removed unnecessary same file check in _resolve_config_candidates. The tests already covered the cases "same git repo root and cwd" so it should not be bro... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 030096ee0db095447bfe77409d33bfac127ca7128299c58deef27c52eaa1b1f0 |
| 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 | d9dd20d38f8ae3c4cb6b597807431db300d0bd2a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width