Modify

Opened 14 years ago

Closed 14 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

Description

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 14 years ago by roadrunner

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

comment:2 Changed 14 years ago by Herbert Valerio Riedel

Resolution: duplicate
Status: newclosed

Modify Ticket

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

Add Comment


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

 
Note: See TracTickets for help on using tickets.