git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: egit problem with sym linked eclipse project dirs

From
Robin Rosenberg <robin.rosenberg.lists@dewire.com>
Date
Jan 23, 2009, 21:33 UTC
Message-ID
<200901232233.59232.robin.rosenberg.lists@dewire.com>
In-Reply-To
<p06240812c59ed365d694@[192.168.1.106]>
fredag 23 januari 2009 02:56:16 skrev Stephen Bannasch:
> At 6:27 PM -0500 1/13/09, Stephen Bannasch wrote:
...
Show 7 quoted lines
> >Done: http://code.google.com/p/egit/issues/detail?id=52
> >
> >Fxing this will make using Eclipse and Git together SO much nicer!
> 
> Robin and Shawn,
> 
> Can you suggest where in the egit code I should look to see if I can fix this?
There may be more than one place. 
Take a look at GitResourceDecorator. 
We map from resources using code like this:
	RepositoryMapping.getMapping(rsrc) // <-- prime suspect
	Repository.getRepoRelativePath(rsrc)
	Repository.getWorkDir
	Repository.isResourceChanged

I'm not entirely sure this is the correct way, but it probably has no bearing on your problem.

	GitResourceDecorator decorator = getActiveDecorator();

It would be nice with a unit test for this. (Not necessarily the decorator, but the methods used for it).

-- robin
Previous: Stephen BannaschNext: Robin Rosenberg
Message 5 of 11 in “egit problem with sym linked eclipse project dirs”
  1. Stephen BannaschJan 13, 2009
  2. Robin RosenbergJan 13, 2009
  3. Stephen BannaschJan 13, 2009
  4. Stephen BannaschJan 23, 2009
  5. Robin RosenbergJan 23, 2009
  6. Add some support for symlinked projects.Robin Rosenberg, Mar 11, 2009
  7. Stephen BannaschMar 12, 2009
  8. Robin RosenbergMar 12, 2009
  9. Stephen BannaschMar 18, 2009
  10. Robin RosenbergMar 18, 2009
  11. Robin RosenbergMar 18, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.