diff options
author | Eric Sunshine <sunshine@sunshineco.com> | 2013-08-06 09:59:38 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-08-06 14:29:35 -0700 |
commit | 58dbfa2e59a11b3dd060d69788af4c3decc7ee22 (patch) | |
tree | 561cffcf76893d46b002ad2e7c3b57fe91896ffd /t/t3200-branch.sh | |
parent | blame: inline one-line function into its lone caller (diff) | |
download | tgif-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/t3200-branch.sh')
0 files changed, 0 insertions, 0 deletions