()
| 84 | } |
| 85 | |
| 86 | func (g *gitExecuter) IsDirty() (bool, error) { |
| 87 | changeCount, err := g.client.UncommittedChangeCount(context.Background()) |
| 88 | if err != nil { |
| 89 | return false, err |
| 90 | } |
| 91 | return changeCount != 0, nil |
| 92 | } |
| 93 | |
| 94 | func (g *gitExecuter) MergeFastForward(ref string) error { |
| 95 | args := []string{"merge", "--ff-only", "--quiet", ref} |
nothing calls this directly
no test coverage detected