Merge branch 'sb/describe-long'
authorJunio C Hamano <gitster@pobox.com>
Sun, 2 Mar 2008 23:02:56 +0000 (15:02 -0800)
committerJunio C Hamano <gitster@pobox.com>
Sun, 2 Mar 2008 23:02:56 +0000 (15:02 -0800)
* sb/describe-long:
  git-describe: --long shows the object name even for a tagged commit

1  2 
Documentation/git-describe.txt
builtin-describe.c

Simple merge
@@@ -271,9 -259,8 +276,10 @@@ int cmd_describe(int argc, const char *
                OPT_BOOLEAN(0, "debug",      &debug, "debug search strategy on stderr"),
                OPT_BOOLEAN(0, "all",        &all, "use any ref in .git/refs"),
                OPT_BOOLEAN(0, "tags",       &tags, "use any tag in .git/refs/tags"),
+               OPT_BOOLEAN(0, "long",       &longformat, "always use long format"),
                OPT__ABBREV(&abbrev),
 +              OPT_SET_INT(0, "exact-match", &max_candidates,
 +                          "only output exact matches", 0),
                OPT_INTEGER(0, "candidates", &max_candidates,
                            "consider <n> most recent tags (default: 10)"),
                OPT_STRING(0, "match",       &pattern, "pattern",