Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tmp-objdir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tmp-objdir.c b/tmp-objdir.c
index 780af8e752..64435f23a4 100644
--- a/tmp-objdir.c
+++ b/tmp-objdir.c
@@ -188,7 +188,7 @@ static int read_dir_paths(struct string_list *out, const char *path)
return -1;
while ((de = readdir(dh)))
- if (!is_dot_or_dotdot(de->d_name))
+ if (de->d_name[0] != '.')
string_list_append(out, de->d_name);
closedir(dh);