This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GIT: Monotonically increasing trunk and release branch ids
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Segher Boessenkool <segher at kernel dot crashing dot org>
- Cc: Joel Brobecker <brobecker at adacore dot com>, Joseph Myers <joseph at codesourcery dot com>, "Richard Earnshaw (lists)" <Richard dot Earnshaw at arm dot com>, Jonathan Wakely <jwakely at redhat dot com>, gcc at gcc dot gnu dot org
- Date: Sat, 11 Jan 2020 14:49:00 +0100
- Subject: Re: GIT: Monotonically increasing trunk and release branch ids
- References: <20200110163852.GV10088@tucnak> <alpine.DEB.2.21.2001101655390.29813@digraph.polyomino.org.uk> <20200110180908.GI3313@adacore.com> <20200110185002.GY10088@tucnak> <20200111134317.GB3191@gate.crashing.org>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Sat, Jan 11, 2020 at 07:43:17AM -0600, Segher Boessenkool wrote:
> On Fri, Jan 10, 2020 at 07:50:02PM +0100, Jakub Jelinek wrote:
> > Maybe even add https://gcc.gnu.org/gNNNNNNN for 7-40 hexadecimal digits
> > redirect to https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=NNNNNNN
> > and then just put as URL those
> > https://gcc.gnu.org/g3b2b821c3f1bac2ac6dd2481f461ec33a13eac9b
> > URLs instead to make it somewhat shorter, and again teach bugzilla to
> > URLize g3b2b821c3f1bac2ac6dd2481f461ec33a13eac9b with 7-40 hexadecimal
> > digits.
>
> Please never post links with a short hash. Those *will* collide after a
> while, making your link go stale. Use at least ten chars, or twelve to
> be save (and it is a nice round number).
Yeah, the 7 was just that it is what git describe prints by default,
in the git-hooks tentative patch I've posted today it would use the
r10-1234 style ids in the subject (those will never collide) and in
the body the
r10-1234-g3b2b821c3f1bac2ac6dd2481f461ec33a13eac9b
style one.
Jakub