Signed-off-by: Michael Haggerty <mhagger@xxxxxxxxxxxx> --- t/t1402-check-ref-format.sh | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/t/t1402-check-ref-format.sh b/t/t1402-check-ref-format.sh index ed4275a..eeb0b1a 100755 --- a/t/t1402-check-ref-format.sh +++ b/t/t1402-check-ref-format.sh @@ -13,6 +13,8 @@ invalid_ref() { "test_must_fail git check-ref-format '$1'" } +invalid_ref '' +invalid_ref '/' valid_ref 'heads/foo' invalid_ref 'foo' valid_ref 'foo/bar/baz' -- 1.7.6.8.gd2879 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html