diff options
Diffstat (limited to 'scan-tree.c')
-rw-r--r-- | scan-tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scan-tree.c b/scan-tree.c index 98a99c9..10d90f4 100644 --- a/scan-tree.c +++ b/scan-tree.c | |||
@@ -185,7 +185,7 @@ static void scan_path(const char *base, const char *path, repo_config_fn fn) | |||
185 | add_repo(base, fmt("%s/.git", path), fn); | 185 | add_repo(base, fmt("%s/.git", path), fn); |
186 | goto end; | 186 | goto end; |
187 | } | 187 | } |
188 | while((ent = readdir(dir)) != NULL) { | 188 | while ((ent = readdir(dir)) != NULL) { |
189 | if (ent->d_name[0] == '.') { | 189 | if (ent->d_name[0] == '.') { |
190 | if (ent->d_name[1] == '\0') | 190 | if (ent->d_name[1] == '\0') |
191 | continue; | 191 | continue; |