author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | |
Fri, 16 Dec 2005 01:40:25 +0000 (02:40 +0100) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Fri, 16 Dec 2005 01:56:32 +0000 (17:56 -0800) | ||
commit | ee34518d629331dadd58b1a75294369d679eda8b | |
tree | 133a5ff65d570298f838cead26db5b6ab226ac0d | tree | snapshot |
parent | 06d900cf28117ad5260335ea9ab7533f223320bf | commit | diff |
We do not like "HEAD" as a new branch name
This makes git-check-ref-format fail for "HEAD". Since the check is only
executed when creating refs, the existing symbolic ref is safe.
Otherwise these commands, most likely are pilot errors, would do
pretty funky stuff:
git checkout -b HEAD
git pull . other:HEAD
Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
This makes git-check-ref-format fail for "HEAD". Since the check is only
executed when creating refs, the existing symbolic ref is safe.
Otherwise these commands, most likely are pilot errors, would do
pretty funky stuff:
git checkout -b HEAD
git pull . other:HEAD
Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
refs.c | diff | blob | history |