Bug 451087 - "Switch To" should allow to take a commit/hash as input
Summary: "Switch To" should allow to take a commit/hash as input
Status: RESOLVED FIXED
Alias: None
Product: EGit
Classification: Technology
Component: UI (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 5.6   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: bugday, helpwanted
Depends on:
Blocks:
 
Reported: 2014-11-12 03:17 EST by Mickael Istria CLA
Modified: 2019-11-21 09:39 EST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mickael Istria CLA 2014-11-12 03:17:35 EST
When dealing with many concurrent Gerrit reviews, I usually don't create 1 branch per review because it only contains one commit, so usually do a lot of "git chechout a1b2c3" to switch between commits. I didn't find a convenient way to achieve that with EGit. IMO, the best way would be to have the "Switch To" dialog able to take commit hash as input, not only branches.
Comment 1 Matthias Sohn CLA 2014-11-12 05:19:08 EST
+1, good idea
Comment 2 Robin Stocker CLA 2014-11-18 05:42:54 EST
That shouldn't be too hard to implement, added the helpwanted keyword. It would probably involve extending SwitchToMenu (maybe with a new menu item? or adding it to the dialog of "Other..."?).
Comment 3 Mickael Istria CLA 2014-11-18 06:02:16 EST
(In reply to Robin Stocker from comment #2)
> maybe with a new menu item?

That's the one I'd prefer, because I have the impression that it would be easier to create a dedicated dialog than to extend the one popped-up when selecting "Other...".
Comment 4 Eclipse Genie CLA 2019-11-17 13:17:01 EST
New Gerrit change created: https://git.eclipse.org/r/152830
Comment 5 Eclipse Genie CLA 2019-11-21 08:05:44 EST
Gerrit change https://git.eclipse.org/r/152830 was merged to [master].
Commit: http://git.eclipse.org/c/egit/egit.git/commit/?id=3a5278d31e3b5d357407fffa50675b02df7022d5
Comment 6 Thomas Wolf CLA 2019-11-21 09:39:44 EST
Thank you, Simon!