diff options
Diffstat (limited to 'merge.go')
| -rw-r--r-- | merge.go | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -46,13 +46,11 @@ func (rs *RepoStatus) fetchBranchByName(bname string) (error, string) { if rs.gitConfig == nil { return errors.New("missing .git/config"), "" } - log.Log(REPO, rs.Name(), "looking for branch:", bname) for name, branch := range rs.gitConfig.branches { if name == bname { // found the branch! log.Log(REPO, " ", name, "remote:", branch.remote, "merge", branch.merge) cmd := []string{"git", "fetch", branch.remote, bname + ":" + bname} - log.Log(REPO, "running:", rs.Name(), cmd) r := rs.Run(cmd) output := strings.Join(r.Stdout, "\n") return r.Error, strings.TrimSpace(output) |
