Merge branch 'jc/forbid-symbolic-ref-d-HEAD'
authorJunio C Hamano <gitster@pobox.com>
Mon, 12 Sep 2016 22:34:35 +0000 (15:34 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 12 Sep 2016 22:34:35 +0000 (15:34 -0700)
"git symbolic-ref -d HEAD" happily removes the symbolic ref, but
the resulting repository becomes an invalid one. Teach the command
to forbid removal of HEAD.

* jc/forbid-symbolic-ref-d-HEAD:
symbolic-ref -d: do not allow removal of HEAD

Trivial merge