| /* A range [start,end]. Lines are numbered starting at 0, and the |
| * ranges include start but exclude end. */ |
| /* A set of ranges. The ranges must always be disjoint and sorted. */ |
| /* A diff, encoded as the set of pre- and post-image ranges where the |
| * files differ. A pair of ranges corresponds to a hunk. */ |
| /* Linked list of interesting files and their associated ranges. The |
| * list must be kept sorted by path. |
| * For simplicity, even though this is highly redundant, each |
| * line_log_data owns its 'path'. |
| struct line_log_data *next; |
| struct diff_filepair *pair; |
| extern void line_log_data_init(struct line_log_data *r); |
| extern void line_log_init(struct rev_info *rev, const char *prefix, struct string_list *args); |
| extern int line_log_filter(struct rev_info *rev); |
| extern int line_log_print(struct rev_info *rev, struct commit *commit); |