Staging instance, all changes can be removed at any time

Skip to content

dumb: Handle HEAD file legacy format

Some dumb git servers can send a HEAD file in a legacy format that contains a commit id (see example) instead of the string: ref: <ref_name> (see example).

So handle that edge case to avoid an error when loading such repository.

Fixes SWH-LOADER-GIT-23E.

Edited by Antoine Lambert

Merge request reports

Loading