Opened 8 years ago

Closed 8 years ago

#7075 closed enhancement (duplicate)

Short SHA1 checksum as commit reference

Reported by: twee@… Owned by: Herbert Valerio Riedel
Priority: normal Component: GitPlugin
Severity: normal Keywords: links, sha1
Cc: Trac Release: 0.11


It would be nice if it were possible to reference a commit (in TracLinks) with shortened sha1 checksum.

For example, instead of [5c0084f75ba670a680d960682557f531c6e2e8a4] allow changeset:5c0084 or even [5c0084].

Git allows shortening SHA1 checksum up to 5 syms, provided it's still unambigous.

Attachments (0)

Change History (2)

comment:1 Changed 8 years ago by roadrunner

See the first three patches attached to #2685 (the minimum required length is configurable via rev_len).

comment:2 Changed 8 years ago by Herbert Valerio Riedel

Resolution: duplicate
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Herbert Valerio Riedel.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.