プロジェクト

全般

プロフィール

Vote #72412

未完了

Git: Repository view author/date inconsistency

Admin Redmine さんがほぼ4年前に追加. ほぼ4年前に更新.

ステータス:
New
優先度:
通常
担当者:
-
カテゴリ:
SCM_3
対象バージョン:
-
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
3
version_id:
0
issue_org_id:
11710
author_id:
62152
assigned_to_id:
0
comments:
4
status_id:
1
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[New]

説明

In the git repository view, the "Author" field displayed for each commit is the git author (correct), but the "Date" or "Age" column displays the committer date (wrong & inconsistent with the author field). Committer and author are different when commits get rewritten, e.g. during a rebase or a cherry pick. So if Alice commits a patch in a bugfix branch 3 years ago, and then Bob cherry-picks that patch into the master branch 2 days ago, then, in Git terminology, Alice is the "author" and Bob is the "committer" of that master commit. However, Redmine displays the commit as "Added by Alice 2 days ago", which is wrong. Redmine should display the author name and date everywhere. At least that's what all git repository viewers I know (e.g. gitk) do.


journals

Yes.
But it is difficult to change database value which already stored on database.
And there is a serious problem for database ordering.
See #5357.

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
#2108 changed commit time to author time.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------


related_issues

relates,New,5357,Git: SCM revisions ordered by date/time (should be reverse commit order)
relates,Closed,2108,git repository browser uses author time instead of commit time for ordering
duplicates,Closed,22864,Associated revisions mix timestamps of git committer and git author.

Admin Redmine さんがほぼ4年前に更新

  • カテゴリSCM_3 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0