range-set: publish API for re-use by git-blame -L
commitc0babbe6953a8a085f270e98e9a94d2a6f3a381b
authorEric Sunshine <sunshine@sunshineco.com>
Tue, 6 Aug 2013 13:59:36 +0000 (6 09:59 -0400)
committerJunio C Hamano <gitster@pobox.com>
Tue, 6 Aug 2013 21:27:20 +0000 (6 14:27 -0700)
treed5cf75cbf4a2c9b709235695af509e916a1df879
parent0ddd47193c225a9f7a658682d4e859771b45ab84
range-set: publish API for re-use by git-blame -L

git-blame is slated to accept multiple -L ranges.  git-log already
accepts multiple -L's but its implementation of range-set, which
organizes and normalizes -L ranges, is private.  Publish the small
subset of range-set API which is needed for git-blame multiple -L
support.

Signed-off-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
line-log.c
line-log.h