aboutsummaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorShawn Pearce <spearce@spearce.org>2006-05-17 05:55:19 -0400
committerJunio C Hamano <junkio@cox.net>2006-05-17 17:36:36 -0700
commit5b16b090211f549c501f2cd9e8ea1bd227a575c5 (patch)
treefcb734220efc38c3ba3937d6dfe925162666aca3 /Documentation
parent4bd18c43d9a8a8fc1aa598926100f6999953ba48 (diff)
downloadgit-5b16b090211f549c501f2cd9e8ea1bd227a575c5.tar.gz
git-5b16b090211f549c501f2cd9e8ea1bd227a575c5.tar.xz
Convert update-ref to use ref_lock API.
This conversion also adds the '-m' switch to update-ref allowing the caller to record why the ref is changing. At present this is merely copied down into the ref_lock API. Signed-off-by: Shawn O. Pearce <spearce@spearce.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/git-update-ref.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/git-update-ref.txt b/Documentation/git-update-ref.txt
index 475237f19..f0e710a6f 100644
--- a/Documentation/git-update-ref.txt
+++ b/Documentation/git-update-ref.txt
@@ -7,7 +7,7 @@ git-update-ref - update the object name stored in a ref safely
SYNOPSIS
--------
-'git-update-ref' <ref> <newvalue> [<oldvalue>]
+'git-update-ref' <ref> <newvalue> [<oldvalue>] [-m <reason>]
DESCRIPTION
-----------