summaryrefslogtreecommitdiff
path: root/builtin/describe.c
diff options
context:
space:
mode:
authorGreg Price <price@MIT.EDU>2013-02-25 05:34:14 (GMT)
committerJunio C Hamano <gitster@pobox.com>2013-02-25 06:23:32 (GMT)
commit48dfe969fc703f1f77f8944bbef033e58b815634 (patch)
tree8d256eb8da7082fdb41be0e19fc5d8776e38fb92 /builtin/describe.c
parentdff9f8835f2f2820c4e7109d242cb06b39f7d065 (diff)
downloadgit-48dfe969fc703f1f77f8944bbef033e58b815634.zip
git-48dfe969fc703f1f77f8944bbef033e58b815634.tar.gz
git-48dfe969fc703f1f77f8944bbef033e58b815634.tar.bz2
Fix ".git/refs" stragglers
A couple of references still survive to .git/refs as a tree of all refs. Fix one in docs, one in a -h message, one in a -h message quoted in docs. Signed-off-by: Greg Price <price@mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/describe.c')
-rw-r--r--builtin/describe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin/describe.c b/builtin/describe.c
index 04c185b..ca084c6 100644
--- a/builtin/describe.c
+++ b/builtin/describe.c
@@ -402,8 +402,8 @@ int cmd_describe(int argc, const char **argv, const char *prefix)
struct option options[] = {
OPT_BOOLEAN(0, "contains", &contains, N_("find the tag that comes after the commit")),
OPT_BOOLEAN(0, "debug", &debug, N_("debug search strategy on stderr")),
- OPT_BOOLEAN(0, "all", &all, N_("use any ref in .git/refs")),
- OPT_BOOLEAN(0, "tags", &tags, N_("use any tag in .git/refs/tags")),
+ OPT_BOOLEAN(0, "all", &all, N_("use any ref")),
+ OPT_BOOLEAN(0, "tags", &tags, N_("use any tag, even unannotated")),
OPT_BOOLEAN(0, "long", &longformat, N_("always use long format")),
OPT__ABBREV(&abbrev),
OPT_SET_INT(0, "exact-match", &max_candidates,