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

Function line_log_init

line-log.c:777–789  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

775}
776
777void line_log_init(struct rev_info *rev, const char *prefix, struct string_list *args)
778{
779 struct commit *commit = NULL;
780 struct line_log_data *range;
781
782 commit = check_single_commit(rev);
783 range = parse_lines(rev->diffopt.repo, commit, prefix, args);
784 add_line_range(rev, commit, range);
785
786 parse_pathspec_from_ranges(&rev->diffopt.pathspec, range);
787
788 free_line_log_data(range);
789}
790
791static void move_diff_queue(struct diff_queue_struct *dst,
792 struct diff_queue_struct *src)

Callers 1

cmd_log_init_finishFunction · 0.85

Calls 5

check_single_commitFunction · 0.85
parse_linesFunction · 0.85
add_line_rangeFunction · 0.85
free_line_log_dataFunction · 0.85

Tested by

no test coverage detected