aboutsummaryrefslogtreecommitdiffstats
path: root/repository/git.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-07-25 18:00:41 +0200
committerMichael Muré <batolettre@gmail.com>2018-07-25 18:00:41 +0200
commit49c90eab26875cbf3094d9a546ad29b426e174a1 (patch)
treee5637f207396ddbb2858944b5c471701d751fe16 /repository/git.go
parentcbdba92704d8d918e8c7725aa0520b722b379816 (diff)
downloadgit-bug-49c90eab26875cbf3094d9a546ad29b426e174a1.tar.gz
git: fix fetch not working
Diffstat (limited to 'repository/git.go')
-rw-r--r--repository/git.go2
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)