GIT: Monotonically increasing trunk and release branch ids

Segher Boessenkool segher@kernel.crashing.org
Sat Jan 11 13:43:00 GMT 2020


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).

(It is of course fine for the redirect itself to allow short names).


Segher



More information about the Gcc mailing list