Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

git-submodule-rewrite requires submodules checked out #1

Closed
qznc opened this issue May 3, 2017 · 4 comments
Closed

git-submodule-rewrite requires submodules checked out #1

qznc opened this issue May 3, 2017 · 4 comments

Comments

@qznc
Copy link
Contributor

qznc commented May 3, 2017

If I just git-clone + git-submodule-rewrite without git submodule update --init, then the script fails with "fatal: No such section!".

@jeremysears
Copy link
Owner

So you have run git clone <remote> rather than git clone --recursive <remote> on the parent repo? How would you like this to be handled? Would you like to see additional validation w/ a more descriptive failure message, or are you thinking that the script should clone the submodules?

@qznc
Copy link
Contributor Author

qznc commented May 4, 2017

Well, ideally just do the right thing and make everything work magically. 😄

I'm not sure if just running git submodule update --init --recursive at the start is fine or might lose data?

At least, it should show a more helpful error message.

@jeremysears
Copy link
Owner

Not sure why this got closed. That change isn't related. Re-opening.

@jeremysears jeremysears reopened this May 12, 2017
@jeremysears
Copy link
Owner

Fixed in the requested "make everything work magically" manner, in change b053efe.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants