Title: config: resolve relative includes from relative config paths by officialasishkumar · Pull Request #2123 · gitpython-developers/GitPython · GitHub
Open Graph Title: config: resolve relative includes from relative config paths by officialasishkumar · Pull Request #2123 · gitpython-developers/GitPython
X Title: config: resolve relative includes from relative config paths by officialasishkumar · Pull Request #2123 · gitpython-developers/GitPython
Description: Fixes #2103 Summary Normalize path-based config inputs before using them for include cycle detection. Resolve relative include.path entries from that normalized source path when the root config file was supplied as a relative path. Add regression coverage with a relative root config and a relative include cycle. Testing .venv/bin/pytest --no-cov -q test/test_config.py .venv/bin/pytest --no-cov -q test/test_config.py test/test_repo.py::TestRepo::test_config_reader .venv/bin/pytest --no-cov -q test/test_refs.py::TestRefs::test_set_tracking_branch_with_import .venv/bin/ruff check git/config.py test/test_config.py .venv/bin/ruff format --check git/config.py test/test_config.py .venv/bin/mypy git/config.py git diff --check
Open Graph Description: Fixes #2103 Summary Normalize path-based config inputs before using them for include cycle detection. Resolve relative include.path entries from that normalized source path when the root config fi...
X Description: Fixes #2103 Summary Normalize path-based config inputs before using them for include cycle detection. Resolve relative include.path entries from that normalized source path when the root config fi...
Opengraph URL: https://github.com/gitpython-developers/GitPython/pull/2123
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:6713864e-ae61-4720-165c-fbdbe86d4c25 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D71E:1F6AF6:2CB2C58:4004432:6A5907CB |
| html-safe-nonce | a9dda18b45947271c614771b8a965ae429a00414471884b977da194ee8d8b43d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENzFFOjFGNkFGNjoyQ0IyQzU4OjQwMDQ0MzI6NkE1OTA3Q0IiLCJ2aXNpdG9yX2lkIjoiNjIwMjQ5Mjc2MzYzNDIwNjY2NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | c935aaf4255d3210d23684e76db26de82ed6d19867ed31fe51c5f6a064558072 |
| hovercard-subject-tag | pull_request:3518149920 |
| 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/gitpython-developers/GitPython/pull/2123/files |
| twitter:image | https://avatars.githubusercontent.com/u/87874775?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/87874775?s=400&v=4 |
| og:image:alt | Fixes #2103 Summary Normalize path-based config inputs before using them for include cycle detection. Resolve relative include.path entries from that normalized source path when the root config fi... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f2a0c7865178af3d91dd9f13b0cdfc3c73a2529c873d2780bb4c01271a57ec6 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/gitpython-developers/GitPython git https://github.com/gitpython-developers/GitPython.git |
| octolytics-dimension-user_id | 503709 |
| octolytics-dimension-user_login | gitpython-developers |
| octolytics-dimension-repository_id | 1126087 |
| octolytics-dimension-repository_nwo | gitpython-developers/GitPython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1126087 |
| octolytics-dimension-repository_network_root_nwo | gitpython-developers/GitPython |
| 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 | 9842457e8d7e3b2e1635a63af28da35614845510 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width