Bug 582226 - "Push Commit..." in history view should be "Push Branch..." if local branch points to selected commit
Summary: "Push Commit..." in history view should be "Push Branch..." if local branch p...
Status: RESOLVED FIXED
Alias: None
Product: EGit
Classification: Technology
Component: UI (show other bugs)
Version: 6.6   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 6.7   Edit
Assignee: Thomas Wolf CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-22 07:44 EDT by Thomas Wolf CLA
Modified: 2023-08-01 18:24 EDT (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 Thomas Wolf CLA 2023-07-22 07:44:17 EDT
"Push Commit..." may be slightly misleading since the command will use a dialog that offers setting up a remote tracking branch for the local branch that points to the commit, if there is one.

Use "Push Commit..." only if there is no local branch pointing to the commit, and "Push Branch..." otherwise. Then the menu item text corresponds to the dialog title and functionality of the dialog that will open.
Comment 1 Matthias Sohn CLA 2023-08-01 18:24:15 EDT
https://git.eclipse.org/r/c/egit/egit/+/203308/1 was merged as b69109f39cb130cbd218b35a40c03f8256fa3f96