diff options
author | 2021-02-12 15:47:42 +0100 | |
---|---|---|
committer | 2021-02-12 15:47:42 +0100 | |
commit | 9b77cec89b64f0910df911952ccee0cdf0046f48 (patch) | |
tree | 7862bb9a330acb1c2ab3f6273d8b659249d3a253 /compat | |
parent | Git 2.18.4 (diff) | |
parent | Git 2.17.6 (diff) | |
download | tgif-9b77cec89b64f0910df911952ccee0cdf0046f48.tar.xz |
Sync with 2.17.6
* maint-2.17:
Git 2.17.6
unpack_trees(): start with a fresh lstat cache
run-command: invalidate lstat cache after a command finished
checkout: fix bug that makes checkout follow symlinks in leading path
Diffstat (limited to 'compat')
-rw-r--r-- | compat/mingw.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compat/mingw.c b/compat/mingw.c index 0c0c474221..1ececf75e0 100644 --- a/compat/mingw.c +++ b/compat/mingw.c @@ -283,6 +283,8 @@ int mingw_rmdir(const char *pathname) ask_yes_no_if_possible("Deletion of directory '%s' failed. " "Should I try again?", pathname)) ret = _wrmdir(wpathname); + if (!ret) + invalidate_lstat_cache(); return ret; } |