Re: [PATCH] git-fetch --tags: deal with tags with spaces in them.
- From
Junio C Hamano <junkio@cox.net>
- Date
- Oct 12, 2005, 18:10 UTC
- Message-ID
- <7v4q7mip30.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <434D2D8F.2020407@zytor.com>
"H. Peter Anvin" <hpa@zytor.com> writes:
> We can disallow whitespace, and we *have* to disallow at least newline > due to the file format; I believe we should disallow all control > characters (0-31, 127-159.)
I agree.
Currently SP, TAB, and LF are all we care about, and nothing else; NUL does not even count. But if we are codifying a list of disallowed byte values, excluding all control characters is probably a sane thing to do, without introducing arbitrary and unnecessary limitation too much.