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

Function show_file

read-cache.c:1450–1458  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1448}
1449
1450static void show_file(const char * fmt, const char * name, int in_porcelain,
1451 int * first, const char *header_msg)
1452{
1453 if (in_porcelain && *first && header_msg) {
1454 printf("%s\n", header_msg);
1455 *first = 0;
1456 }
1457 printf(fmt, name);
1458}
1459
1460int repo_refresh_and_write_index(struct repository *repo,
1461 unsigned int refresh_flags,

Callers 1

refresh_indexFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected