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: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:9e58d74d-df6c-5eee-b115-bcdbe9b9a67b |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D05C:21F2BE:B83B8B:1039D15:696A1F18 |
| html-safe-nonce | a54497b0ec9dd03306587ff91ae7ab8db8cb2c30606bdf77c79d186bb063f9ed |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMDVDOjIxRjJCRTpCODNCOEI6MTAzOUQxNTo2OTZBMUYxOCIsInZpc2l0b3JfaWQiOiI0NTMxNDU0NDM3NjczODAzNTQ0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 0966568a3dc9c8eed3ba34b8321829d934b30f1e6970fe55dcf41c7c93d247c0 |
| 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 | 014f3d193f36b7d393f88ca22d06fbacd370800b40a547c1ea67291e02dc8ea3 |
| 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 | d515f6f09fa57a93bf90355cb894eb84ca4f458f |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width