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

Addressing bug in pull-submodules #378

Merged
merged 1 commit into from
Feb 22, 2023
Merged

Addressing bug in pull-submodules #378

merged 1 commit into from
Feb 22, 2023

Conversation

juanangp
Copy link
Member

@juanangp juanangp commented Feb 15, 2023

juanangp Ok: 3

I noticed that some submodules were not properly updated in case some submodule failed to pull or checkout the corresponding branch. This typically happens when one submodule has unstaged changes.

The issue is fixed after appending || true after git submodule foreach command.

However, note that the faulty submodule will remain in a bad state unless the changes are staged or removed (e.g. using --force), which I think it was the previous behaviour.

@juanangp juanangp requested review from lobis and jgalan February 15, 2023 17:04
@juanangp juanangp merged commit 7440060 into master Feb 22, 2023
@juanangp juanangp deleted the pull-submodules-bug branch February 22, 2023 09:10
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

Successfully merging this pull request may close these issues.

3 participants