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

Function find_name

apply.c:705–718  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

703}
704
705static char *find_name(struct strbuf *root,
706 const char *line,
707 char *def,
708 int p_value,
709 int terminate)
710{
711 if (*line == '"') {
712 char *name = find_name_gnu(root, line, p_value);
713 if (name)
714 return name;
715 }
716
717 return find_name_common(root, line, def, p_value, NULL, terminate);
718}
719
720static char *find_name_traditional(struct strbuf *root,
721 const char *line,

Callers 5

gitdiff_verify_nameFunction · 0.85
gitdiff_copysrcFunction · 0.85
gitdiff_copydstFunction · 0.85
gitdiff_renamesrcFunction · 0.85
gitdiff_renamedstFunction · 0.85

Calls 2

find_name_gnuFunction · 0.85
find_name_commonFunction · 0.85

Tested by

no test coverage detected