mirror of
https://github.com/frej/fast-export.git
synced 2026-01-16 11:12:08 +01:00
6e3872b6a0465d3da271f6d16b45a86f99e620ea
In git-check-ref-format (1), there is the following rule for refnames: 3. It cannot have ASCII control character (i.e. bytes whose values are lower than \040, or \177 DEL), space, tilde ~, caret ^, colon :, question-mark ?, asterisk *, or open bracket [ anywhere; and indeed, this rule is enforced by "git fast-import". hg-fast-export already checked for all of the visible characters listed except for ~ and converted them to underscores. For some reason the tilde was forgotten. This patch makes good on the omission. Note that control characters are still left alone. Signed-off-by: Jonathan Nieder <jrnieder@uchicago.edu> Signed-off-by: Rocco Rutte <pdmef@gmx.net>
Description
Languages
Python
70.7%
Shell
29.1%
Makefile
0.2%