summaryrefslogtreecommitdiff
path: root/metastore.c
diff options
context:
space:
mode:
Diffstat (limited to 'metastore.c')
-rw-r--r--metastore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/metastore.c b/metastore.c
index 3e0068c..0c15d83 100644
--- a/metastore.c
+++ b/metastore.c
@@ -300,7 +300,7 @@ mentries_recurse(const char *opath, struct metaentry **mhead)
}
while ((dent = readdir(dir))) {
- if (!strcmp(dent->d_name, ".") || !strcmp(dent->d_name, ".."))
+ if (!strcmp(dent->d_name, ".") || !strcmp(dent->d_name, "..") || !strcmp(dent->d_name, ".git"))
continue;
snprintf(tpath, PATH_MAX, "%s/%s", path, dent->d_name);
tpath[PATH_MAX - 1] = '\0';