Modify

Opened 4 years ago

Closed 4 years ago

#7075 closed enhancement (duplicate)

Short SHA1 checksum as commit reference

Reported by: twee@… Owned by: hvr
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 4 years ago by roadrunner

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

comment:2 Changed 4 years ago by hvr

  • Resolution set to duplicate
  • Status changed from new to closed

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.