Title: WIP: use `cygpath.exe` to convert Windows paths and respect mount-points by ankostis · Pull Request #639 · gitpython-developers/GitPython · GitHub
Open Graph Title: WIP: use `cygpath.exe` to convert Windows paths and respect mount-points by ankostis · Pull Request #639 · gitpython-developers/GitPython
X Title: WIP: use `cygpath.exe` to convert Windows paths and respect mount-points by ankostis · Pull Request #639 · gitpython-developers/GitPython
Description: Currently the /cygdrive/ mount-point is hard-coded in GitPython's conversions git/utils.py since version 2.1.3 that Cygwin support was added. This PR purports to use Cygwin's cygpath -w | -u utility for path conversions. An added benefit is support out-of-the-box for MSYS2 which is a Cygwin clone based on the excellent pacman package manager that (at last) mounts Windows-drives under root(/). It is still a WorkInProgress (WIP) because although all travis TCs pass on the POSIX part, appveyor now fails on all non-Cygwin builds; prior to this PR, it was only Cygwin builds that were failing in a couple of TCs: https://ci.appveyor.com/project/ankostis/gitpython/build/1.0.443).
Open Graph Description: Currently the /cygdrive/ mount-point is hard-coded in GitPython's conversions git/utils.py since version 2.1.3 that Cygwin support was added. This PR purports to use Cygwin's cygpath -w | ...
X Description: Currently the /cygdrive/ mount-point is hard-coded in GitPython's conversions git/utils.py since version 2.1.3 that Cygwin support was added. This PR purports to use Cygwin's cygpa...
Opengraph URL: https://github.com/gitpython-developers/GitPython/pull/639
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:cf091ad3-0e47-5320-d021-87dff66411c4 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D57C:263AB0:1D1364A:26524DD:6971A89C |
| html-safe-nonce | f0985dda992ae493b1f42b391485b09123df064eacce2f1b9b569e2970808dd2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENTdDOjI2M0FCMDoxRDEzNjRBOjI2NTI0REQ6Njk3MUE4OUMiLCJ2aXNpdG9yX2lkIjoiNzI2MDM2MjYzOTA1NTg5MDU4OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 1456460efa3dddcdaaa4e83ab7a49bcffe19d2a740692d4b16fd0f943fb23b39 |
| hovercard-subject-tag | pull_request:128858207 |
| 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/639/files |
| twitter:image | https://avatars.githubusercontent.com/u/501585?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/501585?s=400&v=4 |
| og:image:alt | Currently the /cygdrive/ mount-point is hard-coded in GitPython's conversions git/utils.py since version 2.1.3 that Cygwin support was added. This PR purports to use Cygwin's cygpath -w | ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | fdfdce9cd4f6ab85dca2b0d11264270829297c962dd5a79df449062d7822258f |
| 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 | 51c736e60b302bd039c9d5164573d176ceb24bb2 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width