Title: `IndexFile._to_relative_path` - fix case where absolute path gets stripped of trailing slash by kamilkozik7 · Pull Request #2012 · gitpython-developers/GitPython · GitHub
Open Graph Title: `IndexFile._to_relative_path` - fix case where absolute path gets stripped of trailing slash by kamilkozik7 · Pull Request #2012 · gitpython-developers/GitPython
X Title: `IndexFile._to_relative_path` - fix case where absolute path gets stripped of trailing slash by kamilkozik7 · Pull Request #2012 · gitpython-developers/GitPython
Description: I encountered this issue on MacOS, python 3.7 and later Added fix and appropriate unit test. Stripping of trailing slash seems to be happening in os.path.relpath, altough I am not sure whether that...
Open Graph Description: I encountered this issue on MacOS, python 3.7 and later Added fix and appropriate unit test. Stripping of trailing slash seems to be happening in os.path.relpath, altough I am not sure whether that...
X Description: I encountered this issue on MacOS, python 3.7 and later Added fix and appropriate unit test. Stripping of trailing slash seems to be happening in os.path.relpath, altough I am not sure whether that...
Opengraph URL: https://github.com/gitpython-developers/GitPython/pull/2012
X: @github
Domain: github.com
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:310cb783-9e7e-7b64-5e5d-ccf52b8fa981 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A2D8:23762:7C8867:A62BDC:6969895B |
| html-safe-nonce | e58acf4a52e2b88b7e3c02a37a5d1f46e3450012b36ed0c958cda629a223386f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMkQ4OjIzNzYyOjdDODg2NzpBNjJCREM6Njk2OTg5NUIiLCJ2aXNpdG9yX2lkIjoiNTg1MTc3NjE0OTUyMjg0Mzk5NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 2781df49a2267c7194d9933eb59d276c915583c06ae77684f0cc6d0f8a5aa6ef |
| hovercard-subject-tag | pull_request:2379133688 |
| 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/_view_fragments/voltron/pull_requests/show/gitpython-developers/GitPython/2012/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/da0810fdfd9561e43e761339674fe2d3af24b2c9e1a3d443f207a204e90fe754/gitpython-developers/GitPython/pull/2012 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/da0810fdfd9561e43e761339674fe2d3af24b2c9e1a3d443f207a204e90fe754/gitpython-developers/GitPython/pull/2012 |
| og:image:alt | I encountered this issue on MacOS, python 3.7 and later Added fix and appropriate unit test. Stripping of trailing slash seems to be happening in os.path.relpath, altough I am not sure whether that... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kamilkozik7 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 533e7cac596c452090972c1150d587fd0b36531b8dc4e8bbfe4ab694aca02408 |
| turbo-cache-control | no-preview |
| 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 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 63d27af10eea2ccab520b162530cf6c7b739e767 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width