summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5d9e8ee)
raw | patch | inline | side by side (parent: 5d9e8ee)
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>
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-show-ref.c | patch | blob | history |
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
#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;