diff options
author | Kostis Anagnostopoulos <ankostis@gmail.com> | 2016-10-16 02:44:37 +0200 |
---|---|---|
committer | Kostis Anagnostopoulos <ankostis@gmail.com> | 2016-10-16 03:04:36 +0200 |
commit | b2efa1b19061ad6ed9d683ba98a88b18bff3bfd9 (patch) | |
tree | dcdafa0214e9d2eb84f285c4afddd056f65b1f00 /git/test/test_repo.py | |
parent | 4486bcbbf49ad0eacf2d8229fb0e7e3432f440d9 (diff) | |
download | gitpython-b2efa1b19061ad6ed9d683ba98a88b18bff3bfd9.tar.gz |
cygwin, #533: FIX submodules detection (~10TCs fixed)
+ 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
Diffstat (limited to 'git/test/test_repo.py')
-rw-r--r-- | git/test/test_repo.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git/test/test_repo.py b/git/test/test_repo.py index 11c720e9..95bc8a96 100644 --- a/git/test/test_repo.py +++ b/git/test/test_repo.py @@ -310,7 +310,7 @@ class TestRepo(TestBase): assert rwrepo.is_dirty(path="git") is True assert rwrepo.is_dirty(path="doc") is False - rwrepo.git.add(osp.join("git", "util.py")) + rwrepo.git.add(Git.polish_url(osp.join("git", "util.py"))) assert rwrepo.is_dirty(index=False, path="git") is False assert rwrepo.is_dirty(path="git") is True |