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

Function ref_storage_format_to_name

refs.c:59–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57}
58
59const char *ref_storage_format_to_name(enum ref_storage_format ref_storage_format)
60{
61 const struct ref_storage_be *be = find_ref_storage_backend(ref_storage_format);
62 if (!be)
63 return "unknown";
64 return be->name;
65}
66
67static const char *abort_by_ref_transaction_hook =
68 N_("in '%s' phase, update aborted by the reference-transaction hook");

Callers 9

get_version_infoFunction · 0.85
checkoutFunction · 0.85
get_references_formatFunction · 0.85
clone_submoduleFunction · 0.85
update_data_to_argsFunction · 0.85
cmd_rev_parseFunction · 0.85
cmd_refs_migrateFunction · 0.85

Calls 1

find_ref_storage_backendFunction · 0.85

Tested by

no test coverage detected