| 1042 | } |
| 1043 | |
| 1044 | static 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 | |
| 1056 | static const char *author_date_from_env(const struct strvec *env) |
| 1057 | { |
no test coverage detected