summaryrefslogtreecommitdiff
path: root/commit.h
diff options
context:
space:
mode:
authorAntoine Pelisse <apelisse@gmail.com>2013-01-05 22:26:41 +0100
committerJunio C Hamano <gitster@pobox.com>2013-01-10 12:33:08 -0800
commit0e2913b042825cb3ff6798245f9224f41183d159 (patch)
tree0bc20b61098a36a7cb88031f3883a2c99fb8bf11 /commit.h
parentea02ffa38571084007eb7c63f650d0011e44a3dd (diff)
downloadgit-0e2913b042825cb3ff6798245f9224f41183d159.tar.gz
mailmap: add mailmap structure to rev_info and pp
Pass a mailmap from rev_info to pretty_print_context to so that the pretty printer can use rewritten name and email address when showing commits. Signed-off-by: Antoine Pelisse <apelisse@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.h')
-rw-r--r--commit.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/commit.h b/commit.h
index b6ad8f3f30..7f8f9878d8 100644
--- a/commit.h
+++ b/commit.h
@@ -89,6 +89,7 @@ struct pretty_print_context {
char *notes_message;
struct reflog_walk_info *reflog_info;
const char *output_encoding;
+ struct string_list *mailmap;
};
struct userformat_want {