summaryrefslogtreecommitdiff
path: root/Documentation/git-update-ref.txt
diff options
context:
space:
mode:
authorLibravatar Karl Hasselström <kha@treskal.com>2008-06-03 01:34:53 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2008-06-02 22:52:39 -0700
commit3fe8dce6fc5b1d0bffba8fdb4e075fcd16cf5619 (patch)
tree0df179167dd685e7d96aa46d28cdffd312e2ea6c /Documentation/git-update-ref.txt
parentClean up builtin-update-ref's option parsing (diff)
downloadtgif-3fe8dce6fc5b1d0bffba8fdb4e075fcd16cf5619.tar.xz
Make old sha1 optional with git update-ref -d
Giving the old sha1 is already optional when changing a ref, and it's quite handy when running update-ref manually. So make it optional for deleting a ref too. Signed-off-by: Karl Hasselström <kha@treskal.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-update-ref.txt')
-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 4dc475992e..80b94c36d9 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' [-m <reason>] (-d <ref> <oldvalue> | [--no-deref] <ref> <newvalue> [<oldvalue>])
+'git-update-ref' [-m <reason>] (-d <ref> [<oldvalue>] | [--no-deref] <ref> <newvalue> [<oldvalue>])
DESCRIPTION
-----------