git.99rst.org
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
combined
(merge:
4c10c31
12cfa79
)
Merge branch 'jc/forbid-symbolic-ref-d-HEAD' into maint
author
Junio C Hamano
<redacted>
Mon, 19 Sep 2016 20:51:40 +0000
(13:51 -0700)
committer
Junio C Hamano
<redacted>
Mon, 19 Sep 2016 20:51:41 +0000
(13:51 -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
git clone https://git.99rst.org/PROJECT