Skip to content

Remove lock files left over in .git/refs

Ben Brown requested to merge benjamb/gitlab-runner:remove-ref-locks into main

What does this MR do?

Remove lock files left over in .git/refs

Why was this MR needed?

When a fetch is interrupted via cancellation or otherwise, lock files may be left behind in .git/refs.

What's the best way to test this MR?

An integration test has been included.

What are the relevant issue numbers?

#6189

Edited by Ben Brown

Merge request reports

Loading