Code

document that git-tag can tag more than heads
authorJonathan Nieder <jrnieder@uchicago.edu>
Thu, 24 Jul 2008 16:55:25 +0000 (11:55 -0500)
committerJunio C Hamano <gitster@pobox.com>
Fri, 25 Jul 2008 07:26:44 +0000 (00:26 -0700)
commita2d07d80ec9dfff0e51cac534be7c1642a47f8fb
treef6de6e5ce57714e18f3fb26228c78f5a35f26609
parent058fb414804d545cc7dcca1313078d6a7e7bbd37
document that git-tag can tag more than heads

After looking the git-tag manpage, someone on #git wondered how
to tag a commit that is not a branch head.  This patch changes
the synopsis to say "<commit> | <object>" instead of "<head>" to
address his question.

Samuel Bronson had the idea of putting "<commit> | <object>"
for "<object>" because most tags point to commits (and for the
rest of the manpage, all tags point to commits).

Signed-off-by: Jonathan Nieder <jrnieder@uchicago.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-tag.txt