]> rtime.felk.cvut.cz Git - git.git/commitdiff
Merge branch 'db/show-ref-head'
authorJunio C Hamano <gitster@pobox.com>
Mon, 22 Jul 2013 18:23:56 +0000 (11:23 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 22 Jul 2013 18:23:56 +0000 (11:23 -0700)
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

1  2 
Documentation/git-show-ref.txt
builtin/show-ref.c

Simple merge
Simple merge