MCPcopy Create free account
hub / github.com/cli/cli / PushRevision

Method PushRevision

pkg/cmd/pr/shared/finder_test.go:992–997  ·  view source on GitHub ↗
(ctx context.Context, branchName string)

Source from the content-addressed store, hash-verified

990}
991
992func (s stubGitConfigClient) PushRevision(ctx context.Context, branchName string) (git.RemoteTrackingRef, error) {
993 if s.pushRevisionFn == nil {
994 panic("unexpected call to PushRevision")
995 }
996 return s.pushRevisionFn(ctx, branchName)
997}
998
999type stubProgressIndicator struct {
1000 startCalled bool

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected