Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Fix show-ref usagestring
author
Lars Hjemli
<hjemli@gmail.com>
Thu, 26 Oct 2006 19:39:05 +0000
(21:39 +0200)
committer
Junio C Hamano
<junkio@cox.net>
Fri, 27 Oct 2006 01:38:05 +0000
(18:38 -0700)
This describes the abbreviation possibilities for git-show-ref
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-show-ref.c
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
5d9e8ee
)
diff --git
a/builtin-show-ref.c
b/builtin-show-ref.c
index f2912e825ef237156811d00e11be1eb2abe63eb4..06ec400d7f3f2e589111a561a6b18da067a02f1f 100644
(file)
--- a/
builtin-show-ref.c
+++ b/
builtin-show-ref.c
@@
-3,7
+3,7
@@
#include "object.h"
#include "tag.h"
#include "object.h"
#include "tag.h"
-static const char show_ref_usage[] = "git show-ref [-q|--quiet] [--verify] [-h|--head] [-d|--dereference] [-s|--hash] [--tags] [--heads] [--] [pattern*]";
+static const char show_ref_usage[] = "git show-ref [-q|--quiet] [--verify] [-h|--head] [-d|--dereference] [-s|--hash
[=<length>]] [--abbrev[=<length>]
] [--tags] [--heads] [--] [pattern*]";
static int deref_tags = 0, show_head = 0, tags_only = 0, heads_only = 0,
found_match = 0, verify = 0, quiet = 0, hash_only = 0, abbrev = 0;
static int deref_tags = 0, show_head = 0, tags_only = 0, heads_only = 0,
found_match = 0, verify = 0, quiet = 0, hash_only = 0, abbrev = 0;