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

Function for_each_commit_graft

commit.c:342–348  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

340}
341
342int for_each_commit_graft(each_commit_graft_fn fn, void *cb_data)
343{
344 int i, ret;
345 for (i = ret = 0; i < the_repository->parsed_objects->grafts_nr && !ret; i++)
346 ret = fn(the_repository->parsed_objects->grafts[i], cb_data);
347 return ret;
348}
349
350struct commit_buffer {
351 void *buffer;

Callers 5

create_pack_fileFunction · 0.85
load_ref_decorationsFunction · 0.85
write_shallow_commits_1Function · 0.85
advertise_shallow_graftsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected