no need to trim file ref

This commit is contained in:
Brad Rydzewski 2017-03-18 19:48:54 +08:00
parent 130c623a35
commit 45af1697b8

View file

@ -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,
},
)