X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/74061ed5f03e72796450aa3b8ca1cf6ced5d59e2..6821d8ea4a64d15b8f284d1af01ab184ef1e76c3:/scan-tree.c diff --git a/scan-tree.c b/scan-tree.c index dbca797..1e18f3c 100644 --- a/scan-tree.c +++ b/scan-tree.c @@ -56,6 +56,8 @@ static void add_repo(const char *base, const char *path, repo_config_fn fn) path, strerror(errno), errno); return; } + if (!stat(fmt("%s/noweb", path), &st)) + return; if ((pwd = getpwuid(st.st_uid)) == NULL) { fprintf(stderr, "Error reading owner-info for %s: %s (%d)\n", path, strerror(errno), errno);