Skip to content
Snippets Groups Projects
Commit 2e2e0fc1 authored by Antoine Lambert's avatar Antoine Lambert
Browse files

directory: Fix a couple of edge case issues in checkout_repository_ref

Ensure to remove trailing slash in git URL when computing its basename
as an empty string is returned otherwise.

When a shallow fetch failed, typically when the ref is a commit short
hash, retry a full fetch in order for ref checkout to succeed.

Related to #4751.
parent 299aea82
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment