Skip to contentSkip to conversation

Include mailmap.h in mailmap.c to catch mailmap interface changes

PATCH New Alex Riesen 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Include mailmap.h in mailmap.c to catch mailmap interface changes

---

And an interface change it could use. There is only two users, and only one needs repo_abbrev. Maybe put all mailmap data into a structure, and pass a pointer to that structure to read_mailmap? Not proposing it, though. Not worth the effort: mailmaps aren't very popular (and maybe not even used, if one remembers how inconsistent local mail configurations are).

 mailmap.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
mailmap.c +1 -0
index 38359a2..cb567a2 100644
@@ -1,5 +1,6 @@
 #include "cache.h"
 #include "path-list.h"
+#include "mailmap.h"
 
 int read_mailmap(struct path_list *map, const char *filename, char **repo_abbrev)
 {
Signature · 1 line
1.5.2.rc0.792.g7f4bd0