diff options
-rw-r--r-- | repository/git.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/repository/git.go b/repository/git.go index 648f56c1..c6bc5009 100644 --- a/repository/git.go +++ b/repository/git.go @@ -102,7 +102,7 @@ func (repo *GitRepo) GetCoreEditor() (string, error) { // FetchRefs fetch git refs from a remote func (repo *GitRepo) FetchRefs(remote, refSpec string) error { - err := repo.runGitCommandInline("fetch", remote, "\""+refSpec+"\"") + err := repo.runGitCommandInline("fetch", remote, refSpec) if err != nil { return fmt.Errorf("failed to fetch from the remote '%s': %v", remote, err) |