MCPcopy Create free account
hub / github.com/git/git / cmit_fmt_is_mail

Function cmit_fmt_is_mail

pretty.h:64–67  ·  view source on GitHub ↗

Check whether commit format is mail. */

Source from the content-addressed store, hash-verified

62
63/* Check whether commit format is mail. */
64static inline int cmit_fmt_is_mail(enum cmit_fmt fmt)
65{
66 return (fmt == CMIT_FMT_EMAIL || fmt == CMIT_FMT_MBOXRD);
67}
68
69/*
70 * Examine the user-specified format given by "fmt" (or if NULL, the global one

Callers 6

pp_user_infoFunction · 0.85
add_merge_infoFunction · 0.85
pretty_print_commitFunction · 0.85
show_diff_of_diffFunction · 0.85
show_logFunction · 0.85
make_cover_letterFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected