aboutsummaryrefslogtreecommitdiff
path: root/t/annotate-tests.sh
diff options
context:
space:
mode:
authorEric Sunshine <sunshine@sunshineco.com>2013-08-06 09:59:38 -0400
committerJunio C Hamano <gitster@pobox.com>2013-08-06 14:29:35 -0700
commit58dbfa2e59a11b3dd060d69788af4c3decc7ee22 (patch)
tree561cffcf76893d46b002ad2e7c3b57fe91896ffd /t/annotate-tests.sh
parent753935749f21b10b306bc81559bba2912a7128a6 (diff)
downloadgit-58dbfa2e59a11b3dd060d69788af4c3decc7ee22.tar.gz
git-58dbfa2e59a11b3dd060d69788af4c3decc7ee22.tar.xz
blame: accept multiple -L ranges
git-blame accepts only a single -L option or none. Clients requiring blame information for multiple disjoint ranges are therefore forced either to invoke git-blame multiple times, once for each range, or only once with no -L option to cover the entire file, both of which can be costly. Teach git-blame to accept multiple -L ranges. Overlapping and out-of-order ranges are accepted. In this patch, the X in -LX,Y is absolute (for instance, /RE/ patterns search from line 1), and Y is relative to X. Follow-up patches provide more flexibility over how X is anchored. Signed-off-by: Eric Sunshine <sunshine@sunshineco.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/annotate-tests.sh')
0 files changed, 0 insertions, 0 deletions