From a2d248bb8362808121f6b6abfd316d83b65afa79 Mon Sep 17 00:00:00 2001 From: Kostis Anagnostopoulos Date: Fri, 14 Oct 2016 18:21:17 +0200 Subject: cygwin, #533: polish abs-paths in `git add` commands + 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 --- git/test/test_submodule.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'git/test/test_submodule.py') diff --git a/git/test/test_submodule.py b/git/test/test_submodule.py index 9db4f9c9..da304944 100644 --- a/git/test/test_submodule.py +++ b/git/test/test_submodule.py @@ -705,7 +705,7 @@ class TestSubmodule(TestBase): fp = osp.join(smm.working_tree_dir, 'empty-file') with open(fp, 'w'): pass - smm.git.add(fp) + smm.git.add(Git.polish_url(fp)) smm.git.commit(m="new file added") # submodules are retrieved from the current commit's tree, therefore we can't really get a new submodule -- cgit v1.2.1