Bug 345465

Summary: Add option to checkout a particular SHA-1 commit
Product: [Technology] EGit Reporter: James Blackburn <jamesblackburn+eclipse>
Component: UIAssignee: Project Inbox <egit.ui-inbox>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3 CC: cdtdoug, matthias.sohn, robin
Version: 0.12Keywords: helpwanted
Target Milestone: ---   
Hardware: PC   
OS: Linux-GTK   
Whiteboard:

Description James Blackburn CLA 2011-05-11 12:34:18 EDT
Eclipse EGit (Incubation)	0.12.1	org.eclipse.egit.feature.group
  Eclipse JGit (Incubation)	0.12.1	org.eclipse.jgit.feature.group

Team > Switch To ... Doesn't contain a 'Commit' option, though Compare With does.  In CVS we made tagged releases once a week (or more) leading to very many tags in the repo.  In git we can just annotate the release with a SHA-1.  It should be easy for someone to checkout a SHA-1 if they need to.
Comment 1 Matthias Sohn CLA 2012-02-28 19:35:24 EST
I agree this would make sense.

As a workaround you may consider to use the "Open Git Commit..." command to lookup the commit for a given SHA1. This command can be configured into the workbench toolbar. Alternatively you may use "Search > Search > Git Search". These commands will open the commit in the commit viewer. You may use the checkout button in this view to checkout the commit.