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

Function commit_format_is_empty

pretty.c:48–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46static struct cmt_fmt_map *find_commit_format(const char *sought);
47
48int commit_format_is_empty(enum cmit_fmt fmt)
49{
50 return fmt == CMIT_FMT_USERFORMAT && !*user_format;
51}
52
53static void save_user_format(struct rev_info *rev, const char *cp, int is_tformat)
54{

Callers 3

diff_tree_combinedFunction · 0.85
show_logFunction · 0.85
log_tree_diff_flushFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected