]> git.ipfire.org Git - thirdparty/git.git/blobdiff - compat/mingw.c
Merge branch 'wb/midx-progress'
[thirdparty/git.git] / compat / mingw.c
index 6b765d936cfc8afe198b2735dafd4116c1706b58..fe609239dd6ba22a843b243647868f887014d40e 100644 (file)
@@ -363,6 +363,8 @@ static inline int needs_hiding(const char *path)
                        /* ignore trailing slashes */
                        if (*path)
                                basename = path;
+                       else
+                               break;
                }
 
        if (hide_dotfiles == HIDE_DOTFILES_TRUE)