summaryrefslogtreecommitdiff
path: root/t/t8001-annotate.sh
diff options
context:
space:
mode:
authorLibravatar Eric Sunshine <sunshine@sunshineco.com>2013-07-17 17:25:27 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-07-17 18:02:12 -0700
commit3bf65f9e62d25089ca50eb348844d21cdbb53019 (patch)
treedbde6299dcbdc89985f748b12fd8587d4e97ce1b /t/t8001-annotate.sh
parentMerge branch 'tr/line-log' (diff)
downloadtgif-3bf65f9e62d25089ca50eb348844d21cdbb53019.tar.xz
line-range: fix "blame -L X,-N" regression
"blame -L X,-N" is documented as blaming "N lines ending at X". In practice, the behavior is achieved by swapping the two range endpoints if the second is less than the first. 25ed3412 (Refactor parse_loc; 2013-03-28) broke this interpretation by removing the swapping code from blame.c and failing to add it to line-range.c along with other code relocated from blame.c. Thus, such a range is effectively treated as empty. Fix this regression. Signed-off-by: Eric Sunshine <sunshine@sunshineco.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t8001-annotate.sh')
0 files changed, 0 insertions, 0 deletions