Code

Forbid DEL characters in reference names
authorMichael Haggerty <mhagger@alum.mit.edu>
Sat, 27 Aug 2011 04:12:44 +0000 (06:12 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sat, 27 Aug 2011 18:47:49 +0000 (11:47 -0700)
commitf3738c1ce9193a4bf45ba1a3ea67d0cf32da0257
treeff76b2cc8cca0320d66b4e6b425baa1d7117fcba
parent2f633f41d69527cdd9ff5b8e04a752f1774fc3df
Forbid DEL characters in reference names

DEL is an ASCII control character and therefore should not be
permitted in reference names.  Add tests for this and other unusual
characters.

Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
refs.c
t/t1402-check-ref-format.sh