diff --git a/mailmap.c b/mailmap.c
index 38359a23b09e393fe620870dca5c3cf9e85fbb48..f0172552e4c42c1526e2395802a41070d43cadae 100644 (file)
--- a/mailmap.c
+++ b/mailmap.c
#include "cache.h"
#include "path-list.h"
+#include "mailmap.h"
int read_mailmap(struct path_list *map, const char *filename, char **repo_abbrev)
{
continue;
if (right_bracket == left_bracket + 1)
continue;
- for (end_of_name = left_bracket; end_of_name != buffer
- && isspace(end_of_name[-1]); end_of_name--)
- /* keep on looking */
+ for (end_of_name = left_bracket;
+ end_of_name != buffer && isspace(end_of_name[-1]);
+ end_of_name--)
+ ; /* keep on looking */
if (end_of_name == buffer)
continue;
name = xmalloc(end_of_name - buffer + 1);
}
return 0;
}
-