From: Junio C Hamano Date: Sun, 2 Mar 2008 23:02:56 +0000 (-0800) Subject: Merge branch 'sb/describe-long' X-Git-Tag: v1.5.5-rc0~94 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c42f63671c0f09cba0c8247c4d1d8121f37798fe;p=git.git Merge branch 'sb/describe-long' * sb/describe-long: git-describe: --long shows the object name even for a tagged commit --- c42f63671c0f09cba0c8247c4d1d8121f37798fe diff --cc builtin-describe.c index 05e309f5a,3fd2e7371..2342913df --- a/builtin-describe.c +++ b/builtin-describe.c @@@ -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 most recent tags (default: 10)"), OPT_STRING(0, "match", &pattern, "pattern",