| 775 | } |
| 776 | |
| 777 | void 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 | |
| 791 | static void move_diff_queue(struct diff_queue_struct *dst, |
| 792 | struct diff_queue_struct *src) |
no test coverage detected