Re: [RFC] Branch naming -- allowed characters?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Petr Baudis
Date: Sunday, August 26, 2007 - 3:17 am

On Sun, Aug 26, 2007 at 10:54:43AM CEST, Jari Aalto wrote:

I think UTF-8 might be possible, though I'd be careful because of legacy
systems (my main home system could be still considered "legacy", for
example; BTW, does Linux fbcon already support reasonable utf8 _and_
16*16 colors?). If legacy system cannot display commit message properly,
it's not that big deal and besides the message is usually still mostly
legible. If you cannot properly refer a branch because you live on a
legacy system, that makes for a showstopper.

About extending the allowed characters, one issue is caring whether we
and all the procelain make sure to quote branch name properly
everywhere. Hopefully so, but is anybode sure?

Bigger issue is that some of these characters have special meaning in
revids. For example ':' is special for Git, meaning "blob of given
filename in given tree". We want to keep some room for further grow and
possible added semantics. (For example, I still haven't completely given
up the idea of using dot-starting names for "autoprivate" refs. ;-)

Compared to this, the benefit of _allowing_ the special characters
doesn't seem to be very large and I can't really imagine many people
wanting to use = or + in their refnames.


I'm sure vim can too. ;-)

-- 
				Petr "Pasky" Baudis
Ever try. Ever fail. No matter. // Try again. Fail again. Fail better.
		-- Samuel Beckett
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC] Branch naming -- allowed characters?, Jari Aalto, (Sun Aug 26, 1:54 am)
Re: [RFC] Branch naming -- allowed characters?, Petr Baudis, (Sun Aug 26, 3:17 am)
Re: [RFC] Branch naming -- allowed characters?, Linus Torvalds, (Mon Aug 27, 11:07 am)