While implementing multiple -L support for git-blame, I encountered
several bugs in range-set and line-log resulting in crashes. This
series fixes those bugs.
Eric Sunshine (5):
range-set: fix sort_and_merge_range_set() corner case bug
t4211: demonstrate empty -L range crash
range-set: satisfy non-empty ranges invariant
t4211: demonstrate crash when first -L encountered is empty range
line-log: fix "log -LN" crash when N is last line of file
line-log.c | 9 ++++++---
t/t4211-line-log.sh | 13 +++++++++++++
2 files changed, 19 insertions(+), 3 deletions(-)
--
1.8.3.4.1120.gc240c48