mirror of
https://github.com/MichaelMure/git-bug.git
synced 2024-12-15 10:12:06 +03:00
git: fix fetch not working
This commit is contained in:
parent
cbdba92704
commit
49c90eab26
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user