(parsedPushRevision git.RemoteTrackingRef, err error)
| 956 | } |
| 957 | |
| 958 | func stubPushRevision(parsedPushRevision git.RemoteTrackingRef, err error) func(context.Context, string) (git.RemoteTrackingRef, error) { |
| 959 | return func(_ context.Context, _ string) (git.RemoteTrackingRef, error) { |
| 960 | return parsedPushRevision, err |
| 961 | } |
| 962 | } |
| 963 | |
| 964 | type stubGitConfigClient struct { |
| 965 | readBranchConfigFn func(ctx context.Context, branchName string) (git.BranchConfig, error) |
no outgoing calls
no test coverage detected