2

I'm sure something is wrong with my git directory.

I set up my submodule using

git submodule add ssh://someUrl/confusionutil.git confusionUtil 

and this all works well. Seems like the submodule is acting right and has a .git file that says:

gitdir: ../.git/modules/confusionUtil

However: Gitbox doesn't recognize it as a submodule (nor as a git repo)... it does with another submodule I'm using, so...

Ideas? What could be wrong with my submodule?

Dan Rosenstark
  • 68,471
  • 58
  • 283
  • 421
  • Did you initialize and update that submodule? (`git submodule update --init`). Did you add and commit that new submodule entry in your local repo? – VonC Mar 01 '14 at 19:21
  • Thanks @VonC, the answer was in there. Basically `git submodule update` was erroring on another submodule that did not have a submodule mapping, so I guess it never finished. – Dan Rosenstark Mar 03 '14 at 02:06
  • Ok, I have described that error in a answer below for more visibility. – VonC Mar 03 '14 at 18:43

1 Answers1

1

As Yar commented, the issue stemmed from the update process:

One of the submodule (without the proper .gitmodule mapping) was causing the update to fail, before the confusionUtil submodule could get updated itself.

Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250