dirk-thomas / vcstool

Vcstool is a command line tool designed to make working with multiple repositories easier
Apache License 2.0
410 stars 87 forks source link

submodules usage w/o .gitmodules file #249

Open andry81 opened 1 year ago

andry81 commented 1 year ago

Some time ago i have started to search a replacement for svn externals: https://github.com/dirk-thomas/vcstool/issues/243

And found that the gil tool may fit to that: https://github.com/chronoxor/gil/issues/6

But while I dig up futhere I found more issues with it which draws the tool is not acceptable for the replacement. And one of the side issues were with the GitExtensions: https://github.com/gitextensions/gitextensions/issues/10642 https://github.com/gitextensions/gitextensions/discussions/10644

And this is what they said: https://github.com/gitextensions/gitextensions/issues/10642#issuecomment-1382875619

You have a funky state and I doubt is supported as valid git state.

So just because git is detecting nested repo and helping you out in summary call, it is not a submodule. The modules file is required to actually work git submodules.

Is the vcstool does the same and alter the state of git submodules into a "funky" state just gil tool does? Or it does work quite differently?

PS: Also have read: https://github.com/dirk-thomas/vcstool/issues/221 https://github.com/dirk-thomas/vcstool/issues/57 https://github.com/dirk-thomas/vcstool/issues/33 https://github.com/dirk-thomas/vcstool/issues/195

andry81 commented 1 year ago

Just for instance. Have sent questions into git folks mailing list: https://lore.kernel.org/git/1716310675.20230122233403@inbox.ru/