diff options
author | Shawn Pearce <spearce@spearce.org> | 2006-05-17 05:55:19 -0400 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-05-17 17:36:36 -0700 |
commit | 5b16b090211f549c501f2cd9e8ea1bd227a575c5 (patch) | |
tree | fcb734220efc38c3ba3937d6dfe925162666aca3 /Documentation/git-update-ref.txt | |
parent | 4bd18c43d9a8a8fc1aa598926100f6999953ba48 (diff) | |
download | git-5b16b090211f549c501f2cd9e8ea1bd227a575c5.tar.gz |
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/git-update-ref.txt')
-rw-r--r-- | Documentation/git-update-ref.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/git-update-ref.txt b/Documentation/git-update-ref.txt index 475237f19e..f0e710a6f8 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 ----------- |