Commit e488a832 authored by Eric Frias's avatar Eric Frias Committed by Dan Notestein
Browse files

Add pre_get_sources_script hook for submodule corruption recovery

Fix corrupt git state left by cancelled pipelines when using fetch
strategy. The hook runs before git operations and cleans up corrupted
submodules that would otherwise cause "Unable to find current revision"
errors.

See GitLab #296638, #4600
parent e867e0fc
Loading
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment