* git confusing a submodule & subdirectory?
@ 2009-03-16 18:39 Juan Zanos
2009-03-17 8:32 ` Jeff King
0 siblings, 1 reply; 2+ messages in thread
From: Juan Zanos @ 2009-03-16 18:39 UTC (permalink / raw)
To: git
Is it possible for git to confuse a submodule with a subdirectory?
When I modify my submodule git seems to think the directory has
changed. A commit isn't going to add all that content to the
containing repository. Is it?
Best,
Juan
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: git confusing a submodule & subdirectory?
2009-03-16 18:39 git confusing a submodule & subdirectory? Juan Zanos
@ 2009-03-17 8:32 ` Jeff King
0 siblings, 0 replies; 2+ messages in thread
From: Jeff King @ 2009-03-17 8:32 UTC (permalink / raw)
To: Juan Zanos; +Cc: git
On Mon, Mar 16, 2009 at 02:39:11PM -0400, Juan Zanos wrote:
> Is it possible for git to confuse a submodule with a subdirectory? When I
> modify my submodule git seems to think the directory has changed. A
> commit isn't going to add all that content to the containing repository.
> Is it?
It's possible that git is confusing them. There was a bug where
git-status with some configurations would show submodules as untracked
files. It was fixed by 98fa473 (refactor handling of "other" files in
ls-files and status, 2008-10-16), which is in v1.6.0.4. Depending on
your git version, you may be seeing that bug.
Otherwise, it's hard to say without more information. Can you show us
what commands you're running, what output you're seeing, and how it
differs from what you expect?
-Peff
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-03-17 8:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-16 18:39 git confusing a submodule & subdirectory? Juan Zanos
2009-03-17 8:32 ` Jeff King
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).