Project

General

Profile

Actions

Feature #6092

closed

Truncate Git revision labels in Activity page/feed and allow configurable length

Added by Phil Moorhouse over 14 years ago. Updated almost 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Toshi MARUYAMA
Category:
SCM
Target version:
Start date:
2010-08-09
Due date:
% Done:

100%

Estimated time:
Resolution:
Fixed

Description

Git uses hashes for the revision labels rather than an incremental counter, so a lot of space is used up just displaying the label in the activity page / feed that would otherwise show more useful info (such as a longer part of the commit message).

Redmine already truncates the Git revision labels to the first 8 chars on the Repository page, which is more than enough for most projects, so it would be good to see this on the Activity page. If we could also configure the length to be even shorter if required, that would be great. The href for any links would obviously still contain the full revision hash.


Files

patch.diff (825 Bytes) patch.diff Adam Soltys, 2010-08-12 07:30
patch.diff (19.3 KB) patch.diff Adam Soltys, 2010-08-15 00:06
patch.diff (29 KB) patch.diff Adam Soltys, 2010-08-15 06:10
revision_truncation_length_as_setting.diff (19.3 KB) revision_truncation_length_as_setting.diff Adam Soltys, 2010-08-15 06:34
yuya-issue-4455-mq-ab997af9e-exclude-hg.diff (14.9 KB) yuya-issue-4455-mq-ab997af9e-exclude-hg.diff Toshi MARUYAMA, 2010-09-19 16:17
git-act-before.png (31.5 KB) git-act-before.png Toshi MARUYAMA, 2010-09-19 16:17
git-act-after.png (24.3 KB) git-act-after.png Toshi MARUYAMA, 2010-09-19 16:17
revision-truncate-20101213.diff (17.8 KB) revision-truncate-20101213.diff Toshi MARUYAMA, 2010-12-13 15:52
git-12-digits-activity.png (62.7 KB) git-12-digits-activity.png Toshi MARUYAMA, 2010-12-13 15:52
git-12-digits-annotate.png (98.3 KB) git-12-digits-annotate.png Toshi MARUYAMA, 2010-12-13 15:52
git-12-digits-browse.png (181 KB) git-12-digits-browse.png Toshi MARUYAMA, 2010-12-13 15:52
revision-truncate-20101213-fix-fixtures.diff (1.09 KB) revision-truncate-20101213-fix-fixtures.diff Toshi MARUYAMA, 2010-12-20 12:06

Related issues

Related to Redmine - Defect #3724: Mercurial repositories display revision ID instead of changeset IDClosedToshi MARUYAMA2009-08-10

Actions
Related to Redmine - Defect #7047: Git adapter very slow when a commit modifies a lot of filesNew2010-12-04

Actions
Related to Redmine - Defect #7146: Git adapter lost commits before 7 days from database latest changesetClosedToshi MARUYAMA2010-12-21

Actions
Related to Redmine - Defect #6013: git tab,browsing, very slow -- even after first timeClosed2010-08-02

Actions
Related to Redmine - Feature #2610: Git repository comments should use git convention for commit messages Closed2009-01-28

Actions
Has duplicate Redmine - Feature #3244: Shorten git commit ids in Atom feeds and on activity pageClosed2009-04-27

Actions
Has duplicate Redmine - Feature #3945: Shorten revision ID for git eventsClosed2009-09-30

Actions
Actions

Also available in: Atom PDF