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

Function find_commit_name

builtin/describe.c:93–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91}
92
93static inline struct commit_name *find_commit_name(const struct object_id *peeled)
94{
95 return hashmap_get_entry_from_hash(&names, oidhash(peeled), peeled,
96 struct commit_name, entry);
97}
98
99static int replace_name(struct commit_name *e,
100 int prio,

Callers 2

add_to_known_namesFunction · 0.85
describe_commitFunction · 0.85

Calls 1

oidhashFunction · 0.85

Tested by

no test coverage detected