[PATCH v2 0/2] Fix reference name format check and normalization
- From
Michael Haggerty <mhagger@alum.mit.edu>
- Date
- Aug 27, 2011, 04:12 UTC
- Message-ID
- <1314418364-2532-1-git-send-email-mhagger@alum.mit.edu>
This patch series consists of "Do not allow refnames to start with a slash" as previously submitted (and improved by Junio) and a second patch that forbids DEL characters in reference names and adds tests of control characters in reference names. It should be applied to maint.
Michael Haggerty (2): check-ref-format --print: Normalize refnames that start with slashes Forbid DEL characters in reference names
builtin/check-ref-format.c | 6 +++--- refs.c | 2 +- t/t1402-check-ref-format.sh | 9 +++++++++ 3 files changed, 13 insertions(+), 4 deletions(-)
-- 1.7.6.8.gd2879