summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorBjörn Steinbrink <B.Steinbrink@gmx.de>2008-04-11 22:52:07 +0200
committerJunio C Hamano <gitster@pobox.com>2008-04-11 17:34:05 -0700
commit055b66158c984c4e902735ab2a1a188509423f43 (patch)
tree0e852e69b11e45fa76374d4a0626d64db822ab95 /Documentation
parentd4ba07cac576e87fd194df0853ed523af6c58af1 (diff)
downloadgit-055b66158c984c4e902735ab2a1a188509423f43.tar.gz
Fix section about backdating tags in the git-tag docs
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>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/git-tag.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/git-tag.txt b/Documentation/git-tag.txt
index 74b461f661..b729595984 100644
--- a/Documentation/git-tag.txt
+++ b/Documentation/git-tag.txt
@@ -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
-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.
------------
-$ 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
------------