Skip to content
This repository was archived by the owner on Apr 23, 2024. It is now read-only.

Commit b736259

Browse files
committed
fix: read branch data from origin again
1 parent cfa501c commit b736259

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git/handler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,5 @@ func (g *GitHandler) getShowRef(refType string, refName string, filePath string)
5252
if refType == "tag" {
5353
return "refs/tags/" + refName + ":" + dirPath
5454
}
55-
return "refs/heads/" + refName + ":" + dirPath
55+
return "origin/" + refName + ":" + dirPath
5656
}

0 commit comments

Comments
 (0)