denio7 / egit

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

egit bug on quickdiff #74

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I think I've found a bug on the quickdiff for egit.  I have a directory
structure like this

workspace/project_name/project_main/.git

rather than the egit project, which is

workspace/project_name/.git

I can view log history, but my quickdiff thinks that my files are
always empty.  I know nothing about eclipse development, but I think I
enabled the 'trace' on Activator and saw this.

[org.spearce.egit.ui] (GitQuickDiffProvider) setActiveEditor: file.php
[org.spearce.egit.ui] (GitQuickDiffProvider) file:
L/project/www/scripts/file.php
[org.spearce.egit.ui] Rescheduling Repository Change Scanner job
[org.spearce.egit.ui] (GitDocument) create: L/project/www/scripts/file.php
[org.spearce.egit.ui] (GitDocument) populate: L/project/www/scripts/file.php
[org.spearce.egit.ui] (GitDocument) unresolved L/project/www/scripts/file.php

While the log for the egit project is

[org.spearce.egit.ui] (GitQuickDiffProvider) file:
L/org.spearce.egit.ui/src/org/spearce/egit/ui/internal/decorators/GitDocument.ja
va

Maybe the filename should be "scripts/file.php" (??)  I don't know how
egit is setup.

As an experiment, I copied my ".git" directory to the project root of
another project, and was able to see Quickdiff.  I think maybe
quickdiff isn't working when the .git directory is inside a
subdirectory of the project.

Original issue reported on code.google.com by cep...@gmail.com on 13 Apr 2009 at 9:24

GoogleCodeExporter commented 8 years ago
I don't think that setup works right now, though there is partial support for 
this.

Original comment by robin.ro...@gmail.com on 15 Aug 2009 at 11:08