]>
git.ipfire.org Git - thirdparty/git.git/blob - t/t8012-blame-colors.sh
3 test_description
='colored git blame'
7 .
"$TEST_DIRECTORY"/annotate-tests.sh
9 test_expect_success
'colored blame colors contiguous lines' '
10 git -c color.blame.repeatedLines=yellow blame --color-lines --abbrev=12 hello.c >actual.raw &&
11 test_decode_color <actual.raw >actual &&
12 grep "<YELLOW>" <actual >darkened &&
13 grep "(F" darkened > F.expect &&
14 grep "(H" darkened > H.expect &&
15 test_line_count = 2 F.expect &&
16 test_line_count = 3 H.expect