denio7 / egit

Automatically exported from code.google.com/p/egit
0 stars 0 forks source link

Compare With --> Git Index missing argument #93

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Problem: It is not possible to select an arbitrary revision of a file and
compare it to the current revision of the file in the workspace.

Steps to reproduce:
1. Create new project in Eclipse
2. Select Team->Share project, and share using Git
3. Add a file to the project, add it to version control, and check it in
4. Make a change to the file, and check it in
5. Right-click on the file and select Compare With-->Git Index

What is the expected output? What do you see instead?

Expected results: 
* A dialog should appear allowing the user to select a revision of the file. 
* After selecting a revision, the user should see a Compare tab comparing
the current version of the file with the revision of the file selected by
the user.

Actual results: 
* The user is NOT presented with any mechanism for selecting a file revision.
* The user sees a Compare tab comparing the current version of the file
with itself. The titles of the two sides of the Compare tab are "Local:
Foo.java" and "Foo.java Index (<missing argument>)".

What version of the product are you using? On what operating system?
* Using latest plugin from git repository (commit
8502373ce21775378e7221a78e6bab2b3b391167 on Wed May 20).
* Using Eclipse 3.5.0 RC1 on Mac OS X 10.5.6

Please provide any additional information below.
This functionality is the main thing holding me back from using Git.
Similar functionality works for the Eclipse SVN plugin, which I'm currently
using. 

Thanks for the great work!

Original issue reported on code.google.com by dowob...@gmail.com on 29 May 2009 at 5:08

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by robin.ro...@gmail.com on 16 Jun 2009 at 8:59

GoogleCodeExporter commented 8 years ago
I have the same problem with the latest incubation build 0.5.0.200908282229
I think this would really be an important feature.

Original comment by eckhart....@gmail.com on 10 Sep 2009 at 3:38

GoogleCodeExporter commented 8 years ago
And you should be able to compare across branches as well (e.g. compare your 
branch to 
master)  This would be great when working with a remote repository so you can 
see any 
conflicts with master before you merge.

Original comment by nick.ger...@gmail.com on 30 Sep 2009 at 7:22

GoogleCodeExporter commented 8 years ago
Fixed in 1dd1414a1b2a05c65a160991326e41c320f5591d

Original comment by robin.ro...@gmail.com on 12 Jul 2010 at 5:19