git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] Include mailmap.h in mailmap.c to catch mailmap interface changes

From
Alex Riesen <raa.lkml@gmail.com>
Date
Apr 30, 2007, 22:31 UTC
Message-ID
<20070430223152.GD5000@steel.home>
Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
---

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(-)
diff --git a/mailmap.c b/mailmap.c
index 38359a2..cb567a2 100644
--- a/mailmap.c
+++ b/mailmap.c
@@ -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)
 {
-- 
1.5.2.rc0.792.g7f4bd0
Message 1 of 1 in “Include mailmap.h in mailmap.c to catch mailmap interface changes”
  1. Include mailmap.h in mailmap.c to catch mailmap interface changesAlex Riesen, Apr 30, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.