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

Function die_in_commit_graph_only

fetch-pack.c:129–135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127}
128
129static void die_in_commit_graph_only(const struct object_id *oid)
130{
131 die(_("You are attempting to fetch %s, which is in the commit graph file but not in the object database.\n"
132 "This is probably due to repo corruption.\n"
133 "If you are attempting to repair this repo corruption by refetching the missing object, use 'git fetch --refetch' with the missing object."),
134 oid_to_hex(oid));
135}
136
137static struct commit *deref_without_lazy_fetch(const struct object_id *oid,
138 int mark_tags_complete_and_check_obj_db)

Callers 1

deref_without_lazy_fetchFunction · 0.85

Calls 2

oid_to_hexFunction · 0.85
dieFunction · 0.70

Tested by

no test coverage detected