1
0
mirror of https://github.com/git/git.git synced 2025-03-23 14:16:44 +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-06-20 14:27:36 -07:00
2011-08-04 15:57:18 -07:00
2011-08-28 21:20:28 -07:00
2011-08-28 21:19:16 -07:00
2011-06-08 17:21:08 -07:00
2011-08-28 21:19:16 -07:00
2011-08-28 21:19:16 -07:00
2011-08-25 16:00:07 -07:00
2011-05-31 12:19:11 -07:00
2011-05-31 12:19:11 -07:00
2011-08-25 14:42:11 -07:00