mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 01:30:22 +00:00
Initialize submodules before updating them
Initialization cannot happen in parallel because every submodule has to get written to .git/config.
This commit is contained in:
@@ -8,5 +8,6 @@ bundle config --local path vendor/gems
|
||||
|
||||
bundle check > /dev/null 2>&1 || bundle install
|
||||
|
||||
git submodule init
|
||||
git submodule sync --quiet
|
||||
script/fast-submodule-update
|
||||
|
||||
@@ -25,7 +25,7 @@ def run_process(*args)
|
||||
end
|
||||
|
||||
def update_submodule(submodule)
|
||||
output, success = run_process("git", "submodule", "update", "--init", "--", submodule)
|
||||
output, success = run_process("git", "submodule", "update", "--", submodule)
|
||||
TaskResult.new(submodule, output, success)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user