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

Function add_patterns_from_file

dir.c:1322–1326  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1320}
1321
1322void add_patterns_from_file(struct dir_struct *dir, const char *fname)
1323{
1324 dir->internal.unmanaged_exclude_files++; /* see validate_untracked_cache() */
1325 add_patterns_from_file_1(dir, fname, NULL);
1326}
1327
1328int match_basename(const char *basename, int basenamelen,
1329 const char *pattern, int prefix, int patternlen,

Callers 1

Calls 1

add_patterns_from_file_1Function · 0.85

Tested by

no test coverage detected