git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Robin Rosenberg <robin.rosenberg.lists@dewire.com>
To: John Bito <jwbito@gmail.com>
Cc: git <git@vger.kernel.org>
Subject: Re: EGIT: problems using eclipse project below root of working tree
Date: Thu, 30 Apr 2009 02:17:50 +0200	[thread overview]
Message-ID: <200904300217.50469.robin.rosenberg.lists@dewire.com> (raw)
In-Reply-To: <3ae83b000904291128j27ad6c1ah3422f091c956533@mail.gmail.com>

onsdag 29 april 2009 20:28:22 skrev John Bito <jwbito@gmail.com>:
> My Java project is part of a larger repository, so the Eclipse project
> I'm opening is rooted one level below the directory containing .git/.
> 
> When I open only the subproject (the root project shows as closed in
> the project explorer), all the members of the working directory of the
> subproject show in the Project Explorer as if they were untracked
> files (query icon).  If I open the subproject after opening the root
> project, the members correctly appear as committed (can icon).
> Opening the root project after opening the subproject seems to produce
> an error in references to jars in the subproject - not obviously
> related to EGIT.
> 
> If the root project is open, changes made in the subproject are listed
> twice in the Commit dialog (once prefixed by root-project-name: and
> once prefixed by subproject-name:).  If the root project is closed,
> the Commit dialog lists the changes once (prefixed by
> subproject-name).
> 
> I think the commit dialog gives me the correct status, but I'd have
> more confidence if the icons in the Project Explorer were consistent.
> I don't want to work with the root project open because it's MUCH
> bigger than the Java code I'm working on and Eclipse seems faster with
> only the subproject open.  I'm also concerned that if I let it commit
> with both the root and subproject instances of the changes checked,
> I'll cause a problem that'll take some time to unwind (not interested
> in experimenting with that at the moment).
> 
> Should I add this as a bug?

We had such a bug, fixed in february, I think, but we now have projects at 
this and and other levels. If you are talking 1) nested repos or 2) nested projects, 
then 1) Egit doesn't work well with them and 2) Eclipse doesn't work well with them.

We have been fiddling around recently with bugs relating to what happends in the repo
after fetch. Those would result in lost decorations. If you have an "exact" receipe for
reproducing the failure, a bug report helps. Otherwise we know there is some work
to do related to nested repos and odd setups in general.

-- robin

      reply	other threads:[~2009-04-30  0:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-29 18:28 EGIT: problems using eclipse project below root of working tree John Bito
2009-04-30  0:17 ` Robin Rosenberg [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200904300217.50469.robin.rosenberg.lists@dewire.com \
    --to=robin.rosenberg.lists@dewire.com \
    --cc=git@vger.kernel.org \
    --cc=jwbito@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).