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

Function add_grep

revision.c:2262–2265  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2260}
2261
2262static void add_grep(struct rev_info *revs, const char *ptn, enum grep_pat_token what)
2263{
2264 append_grep_pattern(&revs->grep_filter, ptn, "command line", 0, what);
2265}
2266
2267static void add_header_grep(struct rev_info *revs, enum grep_header_field field, const char *pattern)
2268{

Callers 1

add_message_grepFunction · 0.85

Calls 1

append_grep_patternFunction · 0.85

Tested by

no test coverage detected