Git development
 help / color / mirror / Atom feed
* [PATCH] Include mailmap.h in mailmap.c to catch mailmap interface changes
@ 2007-04-30 22:31 Alex Riesen
  0 siblings, 0 replies; only message in thread
From: Alex Riesen @ 2007-04-30 22:31 UTC (permalink / raw)
  To: git; +Cc: Junio C Hamano

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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2007-04-30 22:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-30 22:31 [PATCH] Include mailmap.h in mailmap.c to catch mailmap interface changes Alex Riesen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox