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

Function show_children

log-tree.c:281–288  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

279}
280
281static void show_children(struct rev_info *opt, struct commit *commit, int abbrev)
282{
283 struct commit_list *p = lookup_decoration(&opt->children, &commit->object);
284 for ( ; p; p = p->next) {
285 fprintf(opt->diffopt.file, " %s",
286 repo_find_unique_abbrev(the_repository, &p->item->object.oid, abbrev));
287 }
288}
289
290/*
291 * Do we have HEAD in the output, and also the branch it points at?

Callers 1

show_logFunction · 0.85

Calls 2

lookup_decorationFunction · 0.85
repo_find_unique_abbrevFunction · 0.85

Tested by

no test coverage detected