From: Junio C Hamano Date: Wed, 12 Oct 2005 18:10:11 GMT Subject: Re: [PATCH] git-fetch --tags: deal with tags with spaces in them. Message-ID: <7v4q7mip30.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <434D2D8F.2020407@zytor.com> "H. Peter Anvin" 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.