diff options
author | Karl Hasselström <kha@treskal.com> | 2008-06-03 01:34:53 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-06-02 22:52:39 -0700 |
commit | 3fe8dce6fc5b1d0bffba8fdb4e075fcd16cf5619 (patch) | |
tree | 0df179167dd685e7d96aa46d28cdffd312e2ea6c /Documentation/git-update-ref.txt | |
parent | 973a70ea4d9fc98e9ed20c261c5f6c8f1c1df2b0 (diff) | |
download | git-3fe8dce6fc5b1d0bffba8fdb4e075fcd16cf5619.tar.gz |
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.txt | 2 |
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 ----------- |