Files
git/builtin
Junio C Hamano adfc1857bd describe: fix --contains when a tag is given as input
"git describe" takes a commit and gives it a name based on tags in
its neighbourhood.  The command does take a commit-ish but when
given a tag that points at a commit, it should dereference the tag
before computing the name for the commit.

As the whole processing is internally delegated to name-rev, if we
unwrap tags down to the underlying commit when invoking name-rev, it
will make the name-rev issue an error message based on the unwrapped
object name (i.e. either 40-hex object name, or "$tag^0") that is
different from what the end-user gave to the command when the commit
cannot be described.  Introduce an internal option --peel-tag to the
name-rev to tell it to unwrap a tag in its input from the command
line.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
2013-07-18 15:16:23 -07:00
..
2013-04-26 15:28:09 -07:00
2013-06-02 16:00:44 -07:00
2013-04-15 11:04:44 -07:00
2012-09-17 15:59:34 -07:00
2013-05-29 14:23:40 -07:00
2013-01-23 21:19:10 -08:00
2013-06-20 16:02:33 -07:00
2013-06-14 08:46:14 -07:00
2012-09-27 17:57:26 -07:00
2013-04-03 09:18:01 -07:00
2013-06-02 16:00:44 -07:00
2013-05-08 15:34:33 -07:00
2012-10-25 06:42:27 -04:00
2013-05-29 14:23:04 -07:00
2012-10-29 03:08:30 -04:00
2013-06-17 13:30:01 -07:00
2013-01-16 12:48:22 -08:00