diff options
author | Junio C Hamano <gitster@pobox.com> | 2020-11-18 13:32:54 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-11-18 13:32:54 -0800 |
commit | b4e245a17adc1b336269f7350e88eede6e713157 (patch) | |
tree | 36762f82926a1c900c67809ce977717cd1eb0b65 /t/t8013-blame-ignore-revs.sh | |
parent | Merge branch 'jc/sparse-error-for-developer-build' (diff) | |
parent | blame: silently ignore invalid ignore file objects (diff) | |
download | tgif-b4e245a17adc1b336269f7350e88eede6e713157.tar.xz |
Merge branch 'jc/blame-ignore-fix'
"git blame --ignore-revs-file=<file>" learned to ignore a
non-existent object name in the input, instead of complaining.
* jc/blame-ignore-fix:
blame: silently ignore invalid ignore file objects
Diffstat (limited to 't/t8013-blame-ignore-revs.sh')
-rwxr-xr-x | t/t8013-blame-ignore-revs.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t8013-blame-ignore-revs.sh b/t/t8013-blame-ignore-revs.sh index 24ae5018e8..b18633dee1 100755 --- a/t/t8013-blame-ignore-revs.sh +++ b/t/t8013-blame-ignore-revs.sh @@ -39,10 +39,10 @@ test_expect_success 'validate --ignore-rev' ' test_must_fail git blame --ignore-rev X^{tree} file ' -# Ensure bogus --ignore-revs-file requests are caught +# Ensure bogus --ignore-revs-file requests are silently accepted test_expect_success 'validate --ignore-revs-file' ' git rev-parse X^{tree} >ignore_x && - test_must_fail git blame --ignore-revs-file ignore_x file + git blame --ignore-revs-file ignore_x file ' for I in X XT |