Defect #11710
Git: Repository view author/date inconsistency
Status: | New | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due 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
History
#1
Updated by Toshi MARUYAMA almost 10 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 almost 10 years ago
- Affected version (unused) set to 0.8.0-RC1
#3
Updated by Toshi MARUYAMA almost 10 years ago
#2108 changed commit time to author time.
#4
Updated by Toshi MARUYAMA about 6 years ago
- Duplicated by Defect #22864: Associated revisions mix timestamps of git committer and git author. added