(ctx context.Context)
| 91 | } |
| 92 | |
| 93 | func (gr *GitCLIRepository) Pull(ctx context.Context) error { |
| 94 | out, err := command.CombinedOutput(ctx, gr.LocalPath, expand.ListEnviron(os.Environ()...), "git", "-C", gr.LocalPath, "pull") |
| 95 | if err != nil { |
| 96 | return errors.Errorf("Error running 'git pull %s': %v -> %s", gr.LocalPath, err, string(out)) |
| 97 | } else { |
| 98 | return nil |
| 99 | } |
| 100 | } |
no test coverage detected