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: GitPython is a python library used to interact with Git repositories. - `IndexFile._to_relative_path` - fix case where absolute path gets stripped of trailing slash by kamilkozik7 · Pull Request #2012 · gitpython-developers/GitPython
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: redirect.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:11211df7-e80d-ba46-cc1c-d1bb87a10342 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 80C6:3F004:1C109AC:246746C:69909BAF |
| html-safe-nonce | 1fecc1d6e571bc7c79f7ac896364bfe978893bd3f216a507c610534e3771669e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MEM2OjNGMDA0OjFDMTA5QUM6MjQ2NzQ2Qzo2OTkwOUJBRiIsInZpc2l0b3JfaWQiOiI0OTUzOTg5OTIyOTM3Njc0NjcxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 16cc2aa19890da7f5a3260b366608d2ec817bc8002605abf75447392081915cf |
| 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 | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-cache |
| 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 | 3b33c5aedc9808f45bc5fcf0b1e4404cf749dac7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width