From 49c90eab26875cbf3094d9a546ad29b426e174a1 Mon Sep 17 00:00:00 2001 From: Michael Muré Date: Wed, 25 Jul 2018 18:00:41 +0200 Subject: git: fix fetch not working --- repository/git.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'repository/git.go') 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) -- cgit