feat(git): add FetchRemoteBranch, Checkout, ListRemoteBranches to Runner

This commit is contained in:
2026-06-10 17:56:47 +08:00
parent b20435c027
commit a49d45a846
3 changed files with 72 additions and 0 deletions
@@ -226,6 +226,11 @@ func (f *fakeGit) WorktreeRemove(_ context.Context, _, _ string) error
func (f *fakeGit) WorktreeList(_ context.Context, _ string) ([]git.Worktree, error) {
return nil, nil
}
func (f *fakeGit) FetchRemoteBranch(_ context.Context, _, _ string, _ *git.Credential) error { return nil }
func (f *fakeGit) Checkout(_ context.Context, _, _ string) error { return nil }
func (f *fakeGit) ListRemoteBranches(_ context.Context, _ string, _ *git.Credential) ([]string, error) {
return nil, nil
}
type noopAudit struct{}