Commit 6251c7fd authored by Eric Frias's avatar Eric Frias
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 be73ab60
Loading
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment