commit | 3e0d79dbe3064cf065b6518520dd1489406200a9 | [log] [tgz] |
---|---|---|
author | Eric Sunshine <sunshine@sunshineco.com> | Tue Aug 06 09:59:43 2013 -0400 |
committer | Junio C Hamano <gitster@pobox.com> | Tue Aug 06 14:46:12 2013 -0700 |
tree | 4894504d7bc5b7cc727943170fb3eb9b75c20e53 | |
parent | 52f4d1264854485bfd50afeeed1933a3f9e05c96 [diff] |
log: teach -L/RE/ to search from end of previous -L range This is complicated slightly by having to remember the previous -L range for each file specified via -L<range>:file. The existing implementation coalesces ranges for each file as each -L is parsed which makes it impossible to refer back to the previous -L range for any particular file. Re-implement to instead store each file's set of -L ranges verbatim, and then coalesce the ranges in a post-processing step. Signed-off-by: Eric Sunshine <sunshine@sunshineco.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>