Support Cygwin's Git on Windows by ankostis · Pull Request #533 · gitpython-developers/GitPython

added 5 commits

October 14, 2016 17:43
- Cygwin TCs failing (start, no Cygwin specific code):
  - PY2: err: 44, fail: 0
  - PY3: err: 13, fail: 0
+ Make `Git.polish_url()` convert paths into Cygwin-friendly paths.
+ Add utility and soe TCs for funcs for detecting cygwin and converting
abs-paths to `/cygdrive/c/...`.
- Cygwin TCs failing:
  - PY2: err: 14, fail: 3
  - PY3: err: 13, fail: 3
+ Rework git-daemon launching with `with` resource-management.
+ cmd: add `is_cygwin` optional override kwd on `Git.polish_url()`.
- Cygwin TCs failing:
  - PY2: err: 13, fail: 3
  - PY3: err: 12, fail: 3
- Cygwin TCs failing:
  - PY2: err: 13, fail: 3
  - PY3: err: 12, fail: 3
…init

- Cygwin TCs failing:
  - PY2: err: 13, fail: 2
  - PY3: err: 12, fail: 2

ankostis added a commit to ankostis/GitPython that referenced this pull request

Oct 14, 2016
+ Modify TCs - no main-code changes.
+ FIXed:
  + `TestSubmodule.test_git_submodules_and_add_sm_with_new_commit()`
  + TestDiff.test_diff_with_staged_file()
  
- Cygwin TCs failing:
  - PY2: err: 11, fail: 2
  - PY3: err: 10, fail: 2

@ankostis ankostis added this to the v2.1.0 - proper windows support milestone

Oct 15, 2016

ankostis added a commit to ankostis/GitPython that referenced this pull request

Oct 16, 2016
+ Decygpath sm's `.git` file contents.
+ Modify TCs - no main-code changes.
+ FIXed:
  + `TestSubmodule.test_git_submodules_and_add_sm_with_new_commit()`
  + TestDiff.test_diff_with_staged_file()

- Cygwin TCs failing:
  - PY2: err: 12, fail: 2
  - PY3: err: 11, fail: 2

@ankostis

@ankostis

@ankostis

ankostis added a commit to ankostis/GitPython that referenced this pull request

Oct 16, 2016
…xed)

+ Decygpath sm's `.git` file contents.

- Cygwin TCs failing:
  - PY2: err: 2, fail: 2
  - PY3: err: 2, fail: 2
…xed)

+ Decygpath sm's `.git` file contents.
+ Polish another path in `git add`; actually no main-code changes, just
a replace \-->/ on a relative(!) path to make cygwin-git to work.

- REGRESSION `test_git_submodules_and_add_sm_with_new_commit` asks for
user/email settings.

- Cygwin TCs failing:
  - PY2: err: 2, fail: 1
  - PY3: err: 2, fail: 1

@ankostis

ankostis added a commit to ankostis/GitPython that referenced this pull request

Oct 16, 2016

ankostis added a commit to ankostis/GitPython that referenced this pull request

Oct 16, 2016

ankostis added a commit to ankostis/GitPython that referenced this pull request

Oct 16, 2016

@ankostis

@ankostis

@ankostis

This was referenced

May 28, 2025