(remote, ref string)
| 61 | } |
| 62 | |
| 63 | func (g *gitExecuter) Fetch(remote, ref string) error { |
| 64 | args := []string{"fetch", "-q", remote, ref} |
| 65 | cmd, err := g.client.AuthenticatedCommand(context.Background(), git.AllMatchingCredentialsPattern, args...) |
| 66 | if err != nil { |
| 67 | return err |
| 68 | } |
| 69 | return cmd.Run() |
| 70 | } |
| 71 | |
| 72 | func (g *gitExecuter) HasLocalBranch(branch string) bool { |
| 73 | return g.client.HasLocalBranch(context.Background(), branch) |
nothing calls this directly
no test coverage detected