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

Function parse_pathspec_from_ranges

line-log.c:763–775  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

761}
762
763static void parse_pathspec_from_ranges(struct pathspec *pathspec,
764 struct line_log_data *range)
765{
766 struct line_log_data *r;
767 struct strvec array = STRVEC_INIT;
768
769 for (r = range; r; r = r->next)
770 strvec_push(&array, r->path);
771
772 parse_pathspec(pathspec, 0, PATHSPEC_PREFER_FULL, "", array.v);
773
774 strvec_clear(&array);
775}
776
777void line_log_init(struct rev_info *rev, const char *prefix, struct string_list *args)
778{

Callers 2

line_log_initFunction · 0.85
queue_diffsFunction · 0.85

Calls 3

strvec_pushFunction · 0.85
parse_pathspecFunction · 0.85
strvec_clearFunction · 0.85

Tested by

no test coverage detected