Bug 359791 - Show the date of the commits in the compare editor
Summary: Show the date of the commits in the compare editor
Status: NEW
Alias: None
Product: EGit
Classification: Technology
Component: UI (show other bugs)
Version: 1.1   Edit
Hardware: All All
: P3 enhancement with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-04 03:17 EDT by Dani Megert CLA
Modified: 2016-07-20 10:42 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dani Megert CLA 2011-10-04 03:17:47 EDT
1.1.0.201109151100-r.

It would be good to see the commit dates (left and right) in the compare editor. Currently it shows the commit ID which doesn't say much and which can't be quickly opened via editor.
Comment 1 Markus Keller CLA 2016-07-20 10:42:03 EDT
Showing the dates of commits would help sometimes, but the problem with dates is that the date of a parent commit is not necessarily before the date of a child commit, and dates of commits from different branches don't even tell anything about the relationship between the two commits that are being compared.

In CVS, the situation was a bit better because CVS version numbers already contain the branch number as well as a strictly linear sequence number per branch.

In EGit, it would be nice to see a notation like master~17 or HEAD~17 that would immediately make clear which side is the newer one (less steps away from HEAD). If a commit is not in the parent chain of the current HEAD, the notation could do something like "git branch -r --contains <commit-id>" and then show the distance from the first branch that contains the commit.