1
0
mirror of https://github.com/git/git.git synced 2025-03-26 18:15:00 +00:00
Michael Haggerty a40e6fb67a Change check_refname_format() to reject unnormalized refnames
Since much of the infrastructure does not work correctly with
unnormalized refnames, change check_refname_format() to reject them.

Similarly, change "git check-ref-format" to reject unnormalized
refnames by default.  But add an option --normalize, which causes "git
check-ref-format" to normalize the refname before checking its format,
and print the normalized refname.  This is exactly the behavior of the
old --print option, which is retained but deprecated.

Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2011-10-05 13:45:30 -07:00
..
2011-09-07 11:18:18 -07:00
2011-09-07 16:29:18 -07:00
2011-08-08 09:30:12 -07:00
2011-07-06 16:48:59 -07:00
2011-07-01 11:22:09 -07:00
2011-08-30 12:35:51 -07:00
2011-09-06 11:42:12 -07:00
2011-05-19 10:55:54 -07:00
2011-03-11 10:59:16 -05:00
2011-09-06 11:42:12 -07:00
2011-08-17 17:35:38 -07:00
2011-07-22 13:58:46 -07:00