]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t6018-rev-list-glob.sh
Merge branch 'ea/blame-use-oideq'
[thirdparty/git.git] / t / t6018-rev-list-glob.sh
index bb5aeac07f8341ed44bfe25aba6238a92e1fc9e7..b31ff7eeec0e560fcfab90cf17bda796091d449a 100755 (executable)
@@ -345,6 +345,11 @@ test_expect_success 'rev-list should succeed with empty output with empty glob'
        test_must_be_empty actual
 '
 
+test_expect_success 'rev-list should succeed with empty output when ignoring missing' '
+       git rev-list --ignore-missing $ZERO_OID >actual &&
+       test_must_be_empty actual
+'
+
 test_expect_success 'shortlog accepts --glob/--tags/--remotes' '
 
        compare shortlog "subspace/one subspace/two" --branches=subspace &&