Merge branch 'tr/push-no-verify-doc'
[gitweb.git] / t / t8003-blame-corner-cases.sh
index 230143cf318705fb01e61f10072a096e86186934..e7cac1db55113188c7149686399292bded9c07dd 100755 (executable)
@@ -175,6 +175,12 @@ test_expect_success 'blame -L with invalid end' '
        grep "has only 2 lines" errors
 '
 
+test_expect_success 'blame parses <end> part of -L' '
+       git blame -L1,1 tres >out &&
+       cat out &&
+       test $(wc -l < out) -eq 1
+'
+
 test_expect_success 'indent of line numbers, nine lines' '
        git blame nine_lines >actual &&
        test $(grep -c "  " actual) = 0