MCPcopy Index your code
hub / github.com/git/git / repo_unuse_commit_buffer

Function repo_unuse_commit_buffer

commit.c:412–420  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

410}
411
412void repo_unuse_commit_buffer(struct repository *r,
413 const struct commit *commit,
414 const void *buffer)
415{
416 struct commit_buffer *v = buffer_slab_peek(
417 r->parsed_objects->buffer_slab, commit);
418 if (!(v && v->buffer == buffer))
419 free((void *)buffer);
420}
421
422void free_commit_buffer(struct parsed_object_pool *pool, struct commit *commit)
423{

Callers 15

record_personFunction · 0.85
commit_matchFunction · 0.85
free_messageFunction · 0.85
try_to_commitFunction · 0.85
update_squash_messagesFunction · 0.85
walk_revs_populate_todoFunction · 0.85
make_patchFunction · 0.85
do_mergeFunction · 0.85
commit_staged_changesFunction · 0.85
repo_logmsg_reencodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected