Fix section about backdating tags in the git-tag docs
authorBjörn Steinbrink <B.Steinbrink@gmx.de>
Fri, 11 Apr 2008 20:52:07 +0000 (22:52 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sat, 12 Apr 2008 00:34:05 +0000 (17:34 -0700)
The tagger is equal to the committer, not the author, so
GIT_COMMITTER_DATE is the right environment variable to use, not
GIT_AUTHOR_DATE.

Signed-off-by: Björn Steinbrink <B.Steinbrink@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-tag.txt
index 74b461f66194be5abc944c9feeb8666125955d82..b729595984b69538da5379381f399eff3b79b837 100644 (file)
@@ -226,14 +226,14 @@ the tag object affects, for example, the ordering of tags in the
 gitweb interface.
 
 To set the date used in future tag objects, set the environment
 gitweb interface.
 
 To set the date used in future tag objects, set the environment
-variable GIT_AUTHOR_DATE to one or more of the date and time.  The
+variable GIT_COMMITTER_DATE to one or more of the date and time.  The
 date and time can be specified in a number of ways; the most common
 is "YYYY-MM-DD HH:MM".
 
 An example follows.
 
 ------------
 date and time can be specified in a number of ways; the most common
 is "YYYY-MM-DD HH:MM".
 
 An example follows.
 
 ------------
-$ GIT_AUTHOR_DATE="2006-10-02 10:31" git tag -s v1.0.1
+$ GIT_COMMITTER_DATE="2006-10-02 10:31" git tag -s v1.0.1
 ------------
 
 
 ------------