git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Submodule status inside nested submodule fails
@ 2012-02-24  9:53 Charles Brossollet
  2012-02-24 13:41 ` Charles Brossollet
  0 siblings, 1 reply; 5+ messages in thread
From: Charles Brossollet @ 2012-02-24  9:53 UTC (permalink / raw)
  To: git

Hello there,

Using MSysGit 1.7.9 on Win7 (64 bit), I have a repo with the following 
structure:

main/
  src/
  ext/
    submodule/
       modules/module1
       modules/module2

submodule is... a submodule, having itself submodules.

When I query submodule status --recursive in main/, no problem.
But when I query submodule status in  ext/submodule, I get error "You need to
run this command from the toplevel of the working tree.", which is a wrong
error message.

Searching for message in git source I found the test triggering the message to
be an empty result for "git rev-parse --show-cdup". Running the command in
ext/submodule strangely returns the *absolute* path of ext/submodule, which
should not happen because this command returns path of current dir relative to
the containing working tree.

Is there something wrong with my repo? Or have I found a bug? Any help
appreciated

Charles

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-05-10  1:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-24  9:53 Submodule status inside nested submodule fails Charles Brossollet
2012-02-24 13:41 ` Charles Brossollet
2012-05-08 18:11   ` rollinsdr
2012-05-09 21:34     ` Heiko Voigt
2012-05-10  1:40       ` rollinsdr

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).