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

Function lookup_line_range

line-log.c:733–745  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

731}
732
733static struct line_log_data *lookup_line_range(struct rev_info *revs,
734 struct commit *commit)
735{
736 struct line_log_data *ret = NULL;
737 struct line_log_data *d;
738
739 ret = lookup_decoration(&revs->line_log_data, &commit->object);
740
741 for (d = ret; d; d = d->next)
742 range_set_check_invariants(&d->ranges);
743
744 return ret;
745}
746
747static int same_paths_in_pathspec_and_range(struct pathspec *pathspec,
748 struct line_log_data *range)

Callers 2

line_log_queue_pairsFunction · 0.85

Calls 2

lookup_decorationFunction · 0.85

Tested by

no test coverage detected