We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7d93c7a commit ce1fe93Copy full SHA for ce1fe93
ext/git/writer.go
@@ -93,7 +93,7 @@ func (m *nativeGitClient) Add(path string) error {
93
94
// SymRefToBranch retrieves the branch name a symbolic ref points to
95
func (m *nativeGitClient) SymRefToBranch(symRef string) (string, error) {
96
- output, err := m.runCmd("symbolic-ref", symRef)
+ output, err := m.runCmd("symbolic-ref", "refs/remotes/origin/" + symRef)
97
if err != nil {
98
return "", fmt.Errorf("could not resolve symbolic ref '%s': %v", symRef, err)
99
}
0 commit comments