t8001/t8002: blame: add tests of -L line numbers less than 1
commit9527604f7d6490fd4ce0809fe8fc8a600e03710d
authorEric Sunshine <sunshine@sunshineco.com>
Tue, 6 Aug 2013 13:59:48 +0000 (6 09:59 -0400)
committerJunio C Hamano <gitster@pobox.com>
Tue, 6 Aug 2013 21:48:29 +0000 (6 14:48 -0700)
tree30211b228f0d1552084c523eed14273a919ad493
parent215e76c7ff8be46b8206c45aed3b6ec29069d4fc
t8001/t8002: blame: add tests of -L line numbers less than 1

git-blame -L is 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 rejected but is
nevertheless accepted. Demonstrate this shortcoming.

Signed-off-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/annotate-tests.sh