Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
submodules: add RECURSE_SUBMODULES_ONLY value
[gitweb.git]
/
tmp-objdir.c
diff --git
a/tmp-objdir.c
b/tmp-objdir.c
index 780af8e7521bfe98269cb11d32ff0266dc76dea7..64435f23a483dfc40e91437f0689bdfb9ac4b8f8 100644
(file)
--- 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);