Defect #11710

Git: Repository view author/date inconsistency

Added by Olaf Klischat over 6 years ago. Updated over 6 years ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:SCM
Target version:-
Resolution: Affected version:

Description

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.


Related issues

Related to Redmine - Defect #5357: Git: SCM revisions ordered by date/time (should be revers... New 2010-04-20
Related to Redmine - Defect #2108: git repository browser uses author time instead of commit... Closed 2008-10-29
Duplicated by Redmine - Defect #22864: Associated revisions mix timestamps of git committer and ... Closed

History

#1 Updated by Toshi MARUYAMA over 6 years ago

  • Affected version (unused) deleted (devel)

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.

#2 Updated by Toshi MARUYAMA over 6 years ago

  • Affected version (unused) set to 0.8.0-RC1

#3 Updated by Toshi MARUYAMA over 6 years ago

#2108 changed commit time to author time.

#4 Updated by Toshi MARUYAMA almost 3 years ago

  • Duplicated by Defect #22864: Associated revisions mix timestamps of git committer and git author. added

Also available in: Atom PDF