diff options
author | Kostis Anagnostopoulos <ankostis@gmail.com> | 2016-09-29 01:07:41 +0200 |
---|---|---|
committer | Kostis Anagnostopoulos <ankostis@gmail.com> | 2016-09-29 01:46:15 +0200 |
commit | 395955609dfd711cc4558e2b618450f3514b28c1 (patch) | |
tree | 9ee15a36cbc05f9b509aedbda2373cfc0ace2d17 /git/objects/submodule/base.py | |
parent | f1d2d0683afa6328b6015c6a3aa6a6912a055756 (diff) | |
download | gitpython-395955609dfd711cc4558e2b618450f3514b28c1.tar.gz |
FIX hook TC on PY3+Win & indeterministic lock timing.
+ Cannot `index.path` into ENV, it is bytes!
+ The hook TC never runs on linux!
+ Unblock removal of odbfile in perf-large streams TC.
+ Attempt to unblock removal of submodule file by intensive cleaning.
more unblock files
Diffstat (limited to 'git/objects/submodule/base.py')
-rw-r--r-- | git/objects/submodule/base.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/git/objects/submodule/base.py b/git/objects/submodule/base.py index eea091f8..fb5f774d 100644 --- a/git/objects/submodule/base.py +++ b/git/objects/submodule/base.py @@ -848,6 +848,7 @@ class Submodule(util.IndexObject, Iterable, Traversable): # finally delete our own submodule if not dry_run: + self._clear_cache() wtd = mod.working_tree_dir del(mod) # release file-handles (windows) rmtree(wtd) @@ -855,6 +856,7 @@ class Submodule(util.IndexObject, Iterable, Traversable): # END handle force if not dry_run and os.path.isdir(git_dir): + self._clear_cache() rmtree(git_dir) # end handle separate bare repository # END handle module deletion |