#!/bin/sh # The tag page. An annotated tag gets the same three column table as the # commit page, with the tagger and date on one row and the tag, object and # download rows spanning the rest, and its message follows with no blank # line between subject and body. A lightweight tag gets the shorter table. test_description='Check content on tag page' . ./setup.sh test_expect_success 'create an annotated and a lightweight tag' ' ( cd repos/foo && git tag -a -m "Annotated tag Release notes over two lines." v1.0 && git tag light ) ' test_expect_success 'generate foo/tag/?h=v1.0' 'cgit_url "foo/tag/&h=v1.0" >tmp' test_expect_success 'find the tagger row with its date' ' grep "taggerC O Mitter <committer@example.com>