RelNotes: minor typo fixes in 2.15.1 draft
[gitweb.git] / t / t4202-log.sh
index 62f9d94fa3c25eabe484422c9238a1c6d0de1712..8f155da7a50a657db9fd092e24639f67cd03cd24 100755 (executable)
@@ -1523,6 +1523,12 @@ test_expect_success 'log diagnoses bogus HEAD' '
        test_i18ngrep broken stderr
 '
 
+test_expect_success 'log does not default to HEAD when rev input is given' '
+       >expect &&
+       git log --branches=does-not-exist >actual &&
+       test_cmp expect actual
+'
+
 test_expect_success 'set up --source tests' '
        git checkout --orphan source-a &&
        test_commit one &&