Skip to content

Commit

Permalink
annotate-blame test: add evil merge.
Browse files Browse the repository at this point in the history
Signed-off-by: Junio C Hamano <junkio@cox.net>
  • Loading branch information
Junio C Hamano committed Mar 6, 2006
1 parent 8ad02bc commit ce5b6e7
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions t/annotate-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -91,3 +91,12 @@ test_expect_success \
'Annotating an old revision works' \
'check_count -h master^ A 2'

test_expect_success \
'merge-setup part 4' \
'echo "evil merge." >>file &&
EDITOR=: git commit -a --amend'

test_expect_success \
'Two lines blamed on A, one on B, two on B1, one on B2, one on A U Thor' \
'check_count A 2 B 1 B1 2 B2 1 "A U Thor" 1'

0 comments on commit ce5b6e7

Please sign in to comment.