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

Function reset_parsed_attributes

convert.c:1366–1384  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1364}
1365
1366void reset_parsed_attributes(void)
1367{
1368 struct convert_driver *drv, *next;
1369
1370 attr_check_free(check);
1371 check = NULL;
1372 reset_merge_attributes();
1373
1374 for (drv = user_convert; drv; drv = next) {
1375 next = drv->next;
1376 free((void *)drv->name);
1377 free((void *)drv->smudge);
1378 free((void *)drv->clean);
1379 free((void *)drv->process);
1380 free(drv);
1381 }
1382 user_convert = NULL;
1383 user_convert_tail = NULL;
1384}
1385
1386int would_convert_to_git_filter_fd(struct index_state *istate, const char *path)
1387{

Callers 1

apply_patchFunction · 0.85

Calls 2

attr_check_freeFunction · 0.85
reset_merge_attributesFunction · 0.85

Tested by

no test coverage detected