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

Re: [EGIT RFC PATCH(was Re: egit problem with sym linked eclipse project dirs)] Add some support for symlinked projects.

From
SBStephen Bannasch <stephen.bannasch@deanbrook.org>
Date
Mar 12, 2009, 02:57 UTC
Message-ID
<p06240814c5de27cbf520@[63.138.152.192]>
In-Reply-To
<200903112317.41380.robin.rosenberg.lists@dewire.com>

OK ... I'm a bit confused now because I no longer have Git listed as a repository type for Team Sharing.

I deleted the existing org.spearce.* eclipse plugins
   [eclipse]$ rm -f plugins/org.spearce.*
pulled from git://repo.or.cz/egit.git
created a new branch for this test and applied your patch
   [egit.git (linksbranch)]$ git log
   commit 2b86cd4e27a9d9158092305271d6fb25ab27846e
   Author: Stephen Bannasch <stephen.bannasch@gmail.com>
   Date:   Wed Mar 11 22:29:26 2009 -0400
       check through links for repositories
       Robin Rosenberg's patch
       see: http://marc.info/?l=git&m=123681033214178&w=2
       and: http://code.google.com/p/egit/issues/detail?id=52
   commit 341b9c1abadd2ac0ec9ecc7c597990070612e058
   Author: Ruth Alkema <ruth@diasoft.nl>
   Date:   Wed Mar 11 16:42:45 2009 +0100
       Better fix for 'negative position' error on large pack files
       If position is really big and the window size is fairly small, id can
       be negative.  Instead of producing a negative position by extending
       id to a long, mask out the low bits from the original position value
       to compute the window start.
       [sp: message by me, as I had already applied v1 of the patch
            and pushed it (see immediate parent)]
       Signed-off-by: Ruth Alkema <ruth@diasoft.nl>
       Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
   ...

Opened Eclipse and switched to the egit workspace. Refreshed the egit projects and exported the org.spearce.* packages as deployable plugins and fragments to the Eclipse dir.

The new plugins are there:
   [eclipse]$ ls plugins/org.spearce.*
   plugins/org.spearce.egit.core.test_0.4.0.200903112237.jar
   plugins/org.spearce.egit_0.4.0.200903112237.jar
   plugins/org.spearce.egit.core_0.4.0.200903112237.jar
   plugins/org.spearce.jgit_0.4.0.200903112237.jar
   plugins/org.spearce.egit.ui_0.4.0.200903112237.jar
Quit and restarted Eclipse.

When I select a project with an existing git repository and try to enable team/sharing only CVS and SVN are listed.

Previous: Robin RosenbergNext: Robin Rosenberg
Message 7 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.