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

Function get_author

sequencer.c:1044–1054  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1042}
1043
1044static char *get_author(const char *message)
1045{
1046 size_t len;
1047 const char *a;
1048
1049 a = find_commit_header(message, "author", &len);
1050 if (a)
1051 return xmemdupz(a, len);
1052
1053 return NULL;
1054}
1055
1056static const char *author_date_from_env(const struct strvec *env)
1057{

Callers 2

try_to_commitFunction · 0.70
do_pick_commitFunction · 0.70

Calls 2

find_commit_headerFunction · 0.85
xmemdupzFunction · 0.85

Tested by

no test coverage detected