| -rw-r--r-- | scan-tree.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scan-tree.c b/scan-tree.c index 29c8263..7cd8f08 100644 --- a/scan-tree.c +++ b/scan-tree.c @@ -230,6 +230,8 @@ end: closedir(dir); } +#define lastc(s) s[strlen(s) - 1] + void scan_projects(const char *path, const char *projectsfile, repo_config_fn fn) { struct strbuf line = STRBUF_INIT; |