Merge branch 'db/show-ref-head'
commitd0b3fa8fd9faf5d18d54e2beb04741fff88af358
authorJunio C Hamano <gitster@pobox.com>
Mon, 22 Jul 2013 18:23:56 +0000 (22 11:23 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 22 Jul 2013 18:23:56 +0000 (22 11:23 -0700)
treebc35c4471f726637bd45ee79102dccda7c409c97
parente9682cc028e4d360dcf1364691095accc75f4b74
parent3f3d0cea61aba6ac2fef16736ef55e04bb735e02
Merge branch 'db/show-ref-head'

The "--head" option to "git show-ref" was only to add "HEAD" to the
list of candidate refs to be filtered by the usual rules
(e.g. "--heads" that only show refs under refs/heads).  Change the
meaning of the option to always show "HEAD" regardless of what
filtering will be applied to any other ref (this is a backward
incompatible change, so I may need to add an entry to the Release
Notes).

* db/show-ref-head:
  show-ref: make --head always show the HEAD ref
Documentation/git-show-ref.txt
builtin/show-ref.c