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

Function clear_commit_line_range

line-log.c:723–731  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

721}
722
723static void clear_commit_line_range(struct rev_info *revs, struct commit *commit)
724{
725 struct line_log_data *r;
726 r = lookup_decoration(&revs->line_log_data, &commit->object);
727 if (!r)
728 return;
729 free_line_log_data(r);
730 add_decoration(&revs->line_log_data, &commit->object, NULL);
731}
732
733static struct line_log_data *lookup_line_range(struct rev_info *revs,
734 struct commit *commit)

Calls 3

lookup_decorationFunction · 0.85
free_line_log_dataFunction · 0.85
add_decorationFunction · 0.85

Tested by

no test coverage detected