()
| 77 | } |
| 78 | |
| 79 | func (g *gitExecuter) IsDirty() (bool, error) { |
| 80 | changeCount, err := g.client.UncommittedChangeCount(context.Background()) |
| 81 | if err != nil { |
| 82 | return false, err |
| 83 | } |
| 84 | return changeCount != 0, nil |
| 85 | } |
| 86 | |
| 87 | func (g *gitExecuter) MergeFastForward(ref string) error { |
| 88 | args := []string{"merge", "--ff-only", "--quiet", ref} |
nothing calls this directly
no test coverage detected