From c15a6e1923a14bc760851913858a3942a4193cdb Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Sat, 17 Jan 2015 17:19:06 +0100 Subject: Submodule.remove() now seems to work properly, nearly all tests are back. This also means that now we seem to be able to properly handle .git files in submodules Related to #233 --- git/repo/base.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'git/repo') diff --git a/git/repo/base.py b/git/repo/base.py index 74e72aa5..f3dd05b3 100644 --- a/git/repo/base.py +++ b/git/repo/base.py @@ -132,8 +132,8 @@ class Repo(object): # walk up the path to find the .git dir while curpath: # ABOUT os.path.NORMPATH - # It's important to normalize the paths, as submodules will otherwise initialize their - # repo instances with paths that depend on path-portions that will not exist after being + # It's important to normalize the paths, as submodules will otherwise initialize their + # repo instances with paths that depend on path-portions that will not exist after being # removed. It's just cleaner. if is_git_dir(curpath): self.git_dir = os.path.normpath(curpath) -- cgit v1.2.3