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

Function get_object_mark

builtin/fast-export.c:244–250  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

242}
243
244static int get_object_mark(struct object *object)
245{
246 void *decoration = lookup_decoration(&idnums, object);
247 if (!decoration)
248 return 0;
249 return ptr_to_mark(decoration);
250}
251
252static struct commit *rewrite_commit(struct commit *p)
253{

Callers 4

show_filemodifyFunction · 0.85
handle_commitFunction · 0.85
handle_tagFunction · 0.85

Calls 2

lookup_decorationFunction · 0.85
ptr_to_markFunction · 0.85

Tested by

no test coverage detected