diff --git a/remote/gitlab/client/project.go b/remote/gitlab/client/project.go index 287655e22..f21f1a48a 100644 --- a/remote/gitlab/client/project.go +++ b/remote/gitlab/client/project.go @@ -105,7 +105,7 @@ func (c *Client) RepoRawFileRef(id, ref, filepath string) ([]byte, error) { }, QMap{ "filepath": filepath, - "ref": strings.TrimPrefix(ref, "refs/heads/"), + "ref": ref, }, )