Previous discussion:
http://thread.gmane.org/gmane.comp.version-control.git/200129/focus=200146
I'm not sure if I've drawn the right conclusions from the previous
thread, so please let me know in case that's the wrong way to go..
* refs: disallow ref components starting with hyphen
* symbolic-ref: check format of given refname
builtin/symbolic-ref.c | 4 +++-
builtin/tag.c | 3 ---
refs.c | 2 ++
sha1_name.c | 2 --
t/t1401-symbolic-ref.sh | 10 ++++++++++
5 files changed, 15 insertions(+), 6 deletions(-)