mirror of
				https://github.com/KevinMidboe/linguist.git
				synced 2025-10-29 17:50: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 | bundle check > /dev/null 2>&1 || bundle install | ||||||
|  |  | ||||||
|  | git submodule init | ||||||
| git submodule sync --quiet | git submodule sync --quiet | ||||||
| script/fast-submodule-update | script/fast-submodule-update | ||||||
|   | |||||||
| @@ -25,7 +25,7 @@ def run_process(*args) | |||||||
| end | end | ||||||
|  |  | ||||||
| def update_submodule(submodule) | 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) |   TaskResult.new(submodule, output, success) | ||||||
| end | end | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user