]> asedeno.scripts.mit.edu Git - git.git/blobdiff - t/t6120-describe.sh
Compact commit template message
[git.git] / t / t6120-describe.sh
index c6bfef5f47f41cee2011af664123e30308c7af49..2fb672c3b43a9efe4cb9c85465f6b33f23724e48 100755 (executable)
@@ -108,7 +108,7 @@ warning: tag 'A' is really 'Q' here
 EOF
 check_describe A-* HEAD
 test_expect_success 'warning was displayed for Q' '
-       git diff err.expect err.actual
+       test_cmp err.expect err.actual
 '
 test_expect_success 'rename tag Q back to A' '
        mv .git/refs/tags/Q .git/refs/tags/A
@@ -139,4 +139,6 @@ check_describe "test1-lightweight-*" --tags --match="test1-*"
 
 check_describe "test2-lightweight-*" --tags --match="test2-*"
 
+check_describe "test2-lightweight-*" --long --tags --match="test2-*" HEAD^
+
 test_done