MCPcopy Index your code
hub / github.com/git/git / mailmap_name

Function mailmap_name

pretty.c:777–786  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

775}
776
777static int mailmap_name(const char **email, size_t *email_len,
778 const char **name, size_t *name_len)
779{
780 static struct string_list *mail_map;
781 if (!mail_map) {
782 CALLOC_ARRAY(mail_map, 1);
783 read_mailmap(the_repository, mail_map);
784 }
785 return mail_map->nr && map_user(mail_map, email, email_len, name, name_len);
786}
787
788static size_t format_person_part(struct strbuf *sb, char part,
789 const char *msg, int len,

Callers 1

format_person_partFunction · 0.85

Calls 2

read_mailmapFunction · 0.85
map_userFunction · 0.85

Tested by

no test coverage detected