Bug 543653 - Label unpushed commits in history view
Summary: Label unpushed commits in history view
Status: NEW
Alias: None
Product: EGit
Classification: Technology
Component: UI (show other bugs)
Version: 5.3   Edit
Hardware: PC Windows 7
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-21 10:47 EST by Rolf Theunissen CLA
Modified: 2019-02-24 07:02 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rolf Theunissen CLA 2019-01-21 10:47:12 EST
In the project explorer it shows that there are local (unpushed) commits. In the history view there is no visual clue which commits are unpushed.

It would be helpful to have a visual clue for unpushed commits.
Comment 1 Michael Keppler CLA 2019-02-23 05:34:45 EST
Are you aware of the "All branches" toolbar button? If that is enabled, you see the difference between local and upstream directly in the graph.

Also if you select a commit in the history, look for the commit message area underneath the list of commits. Line 5 or 6 of that text shows which branches a commit is contained in. If that line contains "origin/master", you have pushed it there.

Not sure if more indicatation is needed.
Comment 2 Rolf Theunissen CLA 2019-02-24 07:02:12 EST
(In reply to Michael Keppler from comment #1)
> Are you aware of the "All branches" toolbar button? If that is enabled, you
> see the difference between local and upstream directly in the graph.

I am aware of that button. However, I would not say that you see the differences directly, especially with many branches around. Surely, with little effort it can be found out.

Maybe it is an option to show only the current branch and its parent(s) to reduce the clutter when looking at many branches.

> Also if you select a commit in the history, look for the commit message area
> underneath the list of commits. Line 5 or 6 of that text shows which
> branches a commit is contained in. If that line contains "origin/master",
> you have pushed it there.
> 
> Not sure if more indicatation is needed.

I was thinking to have some visual clues that mark the behind/forward commits. The current branch/head is has already a bold font. Commits behind/forward could be marked in a different font as well, or with a different color. Also, the dots on the time-line could have a different shape/color/fill. Not sure though, if this all would cutter the view too much.