Project

General

Profile

Actions

Feature #6092

closed

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

Feature #6092: Truncate Git revision labels in Activity page/feed and allow configurable length

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

Status:
Closed
Priority:
Normal
Assignee:
Toshi MARUYAMA
Category:
SCM
Target version:
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 7 (1 open — 6 closed)

Related to Redmine - Defect #3724: Mercurial repositories display revision ID instead of changeset IDClosedToshi MARUYAMAActions
Related to Redmine - Defect #7047: Git adapter very slow when a commit modifies a lot of filesNewActions
Related to Redmine - Defect #7146: Git adapter lost commits before 7 days from database latest changesetClosedToshi MARUYAMAActions
Related to Redmine - Defect #6013: git tab,browsing, very slow -- even after first timeClosedActions
Related to Redmine - Feature #2610: Git repository comments should use git convention for commit messages ClosedActions
Has duplicate Redmine - Feature #3244: Shorten git commit ids in Atom feeds and on activity pageClosedActions
Has duplicate Redmine - Feature #3945: Shorten revision ID for git eventsClosedActions
Actions

Also available in: PDF Atom