Files
git/builtin
Vladimir Panteleev ec7c51bc6b show-ref: accept HEAD with --verify
Previously, when --verify was specified, show-ref would use a separate
code path which did not handle HEAD and treated it as an invalid
ref. Thus, "git show-ref --verify HEAD" (where "--verify" is used
because the user is not interested in seeing refs/remotes/origin/HEAD)
did not work as expected.

Instead of insisting that the input begins with "refs/", allow "HEAD"
as well in the codepath that handles "--verify", so that all valid
full refnames including HEAD are passed to the same output machinery.

Signed-off-by: Vladimir Panteleev <git@thecybershadow.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2017-01-23 12:06:29 -08:00
..
2016-12-21 14:55:01 -08:00
2016-11-22 13:55:20 -08:00
2017-01-18 15:12:13 -08:00
2016-12-19 14:45:35 -08:00
2016-09-29 15:42:18 -07:00
2016-09-21 15:15:24 -07:00
2016-09-29 15:42:18 -07:00
2016-10-10 14:03:50 -07:00
2016-09-26 16:09:17 -07:00
2016-11-22 13:13:16 -08:00
2016-12-27 00:11:41 -08:00
2016-09-29 15:42:18 -07:00
2017-01-18 15:12:15 -08:00
2016-09-29 15:42:18 -07:00
2016-12-19 14:45:38 -08:00
2016-12-27 00:11:40 -08:00
2016-09-29 15:42:18 -07:00
2015-10-05 13:20:08 -07:00
2017-01-18 15:12:11 -08:00
2016-10-03 12:46:47 -07:00
2017-01-23 12:06:29 -08:00
2016-11-28 13:18:51 -08:00