diff options
author | Junio C Hamano <gitster@pobox.com> | 2016-08-31 10:03:50 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-08-31 10:03:50 -0700 |
commit | 4762bf36d9d4190dd7afdbc9ccc8bd8bc5af40f8 (patch) | |
tree | 99d9b401dbb6f5e27982ed9356a2820b84830bc3 /t/t8002-blame.sh | |
parent | 9010077be2de8be28bfa6eebd6de723236324477 (diff) | |
parent | bc6b13a7d2300e982dd3a3aeef2f3ad4d39cf149 (diff) | |
download | git-4762bf36d9d4190dd7afdbc9ccc8bd8bc5af40f8.tar.gz git-4762bf36d9d4190dd7afdbc9ccc8bd8bc5af40f8.tar.xz |
Merge branch 'mh/blame-worktree'
* mh/blame-worktree:
blame: fix segfault on untracked files
Diffstat (limited to 't/t8002-blame.sh')
-rwxr-xr-x | t/t8002-blame.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/t/t8002-blame.sh b/t/t8002-blame.sh index ff09aced6..ab79de954 100755 --- a/t/t8002-blame.sh +++ b/t/t8002-blame.sh @@ -6,6 +6,11 @@ test_description='git blame' PROG='git blame -c' . "$TEST_DIRECTORY"/annotate-tests.sh +test_expect_success 'blame untracked file in empty repo' ' + >untracked && + test_must_fail git blame untracked +' + PROG='git blame -c -e' test_expect_success 'blame --show-email' ' check_count \ |