On Wed, Dec 04, 2019 at 08:37:17PM +0000, Joseph Myers wrote:
> On Wed, 4 Dec 2019, Segher Boessenkool wrote:
> > And, as I said before, a release branch is a totally different animal
> > from releases (release tags).  We do this correctly now, let's keep it
> > that way?
> 
> By convention, a branch in SVN lives in /branches and a branch in git 
> lives in refs/heads/, whereas a tag in SVN lives in /tags and a tag in git 
> lives in refs/tags/.  This doesn't require any particular naming 
> convention within those directories, but it's helpful to avoid actually 
> having a branch and a tag with the same name.

Yes, exactly.  It's inconvenient and confusing in multiple ways to have
the same names for branches and tags.

> The avoidance of '.' in branch and tag names is, I'm pretty sure, a legacy 
> of CVS restrictions on valid names for branches and tags.  Those 
> restrictions are not relevant to git or SVN; if picking any new convention 
> it seems appropriate for the tag for GCC 10.1 to say "10.1" somewhere in 
> its name rather than "10_1".

Avoiding underscores is always welcome :-)


Segher

Reply via email to