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: github.com
| route-pattern | /:user_id/:repository/pull/:id/commits(.:format) |
| route-controller | pull_requests |
| route-action | commits |
| fetch-nonce | v2:116f4179-1972-16c2-f193-89ca32a6489d |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B96C:2AC946:5F2070:8085C5:6969B436 |
| html-safe-nonce | e3ff46e26376c920ad29a4c0c10697798708786b213cbc5e8228c5cabd871c59 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOTZDOjJBQzk0Njo1RjIwNzA6ODA4NUM1OjY5NjlCNDM2IiwidmlzaXRvcl9pZCI6IjU3ODg2ODg2Njc2OTcwNjcwNjIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | dcafdd5ed58f4d964905d26dbb5f2b2addf2932ab03f29b864e9cf9a5755030b |
| 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/gitpython-developers/GitPython/pull/2012/commits |
| 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 | b23b8fcc855cd29bb04d6c94aafa62d336bf44eefa8229444eecc968cad03aee |
| 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 | 0672399d88424758731ec07fe24509e23bb17fb5 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width