summaryrefslogtreecommitdiff
path: root/xdiff/xprepare.c
diff options
context:
space:
mode:
authorLibravatar Eric Sunshine <sunshine@sunshineco.com>2013-08-06 09:59:49 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-08-06 14:48:55 -0700
commit5ce922a014f78684a96c3d03a51decf0d21fa58d (patch)
tree51a30c2cf9e291ff7ca739b1e19cd28d0bc67b7b /xdiff/xprepare.c
parentt8001/t8002: blame: add tests of -L line numbers less than 1 (diff)
downloadtgif-5ce922a014f78684a96c3d03a51decf0d21fa58d.tar.xz
line-range: reject -L line numbers less than 1
Since inception, git-blame -L has been documented as accepting 1-based line numbers. When handed a line number less than 1, -L's behavior is undocumented and undefined; it's also nonsensical and should be diagnosed as an error. Do so. Signed-off-by: Eric Sunshine <sunshine@sunshineco.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'xdiff/xprepare.c')
0 files changed, 0 insertions, 0 deletions