| Summary: | Decorations for Committed but not Pushed | ||
|---|---|---|---|
| Product: | [Technology] EGit | Reporter: | Miles Parker <milesparker> |
| Component: | UI | Assignee: | Robin Stocker <robin> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | daniel_megert, mark, markus.kell.r, robin.rosenberg, robin |
| Version: | 0.9.0 | ||
| Target Milestone: | 1.3 | ||
| Hardware: | All | ||
| OS: | All | ||
| See Also: | https://bugs.eclipse.org/bugs/show_bug.cgi?id=330048 | ||
| Whiteboard: | |||
|
Description
Miles Parker
I'd like to add my support for this enhancement request. I can't tell you how many times I have gone home without pushing my completed work for the day. A visual indicator would be very helpful. (In reply to comment #0) > After committing changes to local git repos but not pushing them, there is no > visual indicator that the changes have not been pushed. It would be nice to be > able to optionally see changes that are not in sync with remote repos. I don't > know if this is practical performance wise but perhaps it could occur at the > commit stage. This is all related to making EGit more transparent and easier to > use for people migrating from traditional VCS. +1 The implementation can be as simple as checking whether current HEAD is the same as the remote branch tip. If they differ, then show a decoration on the project and the repository. In the History view, the same decoration could e.g. be shown instead of the 'o' in the diagram at the left for all commits that have a local branch tag (e.g. 'master') but the corresponding remote branch tag (e.g. origin/master) is on a parent of that commit. (In reply to comment #3) > The implementation can be as simple as checking whether current HEAD is the > same as the remote branch tip. Yep, that makes sense. Would that handle the case where the user is working against a remote (non-master) branch? This has been fixed in 2.2. A decoration on the project shows arrows indicating the number of commits relative to the upstream branch. https://git.eclipse.org/r/#/c/4678/ This was already available in 1.3: http://wiki.eclipse.org/EGit/New_and_Noteworthy/1.3#Branch_Status_Decoration |