Merge branch 'js/windows-open-eisdir-error'
[gitweb.git] / t / t4205-log-pretty-formats.sh
index 9b75399572b1cbe1bfcb00995e1660a93fe6a4c6..7398605e7b894259548f257aaf3e92d9481534eb 100755 (executable)
@@ -465,4 +465,15 @@ EOF
        test_cmp expected actual1
 '
 
+test_expect_success 'clean log decoration' '
+       git log --no-walk --tags --pretty="%H %D" --decorate=full >actual &&
+       cat >expected <<EOF &&
+$head1 tag: refs/tags/tag2
+$head2 tag: refs/tags/message-one
+$old_head1 tag: refs/tags/message-two
+EOF
+       sort actual >actual1 &&
+       test_cmp expected actual1
+'
+
 test_done