(cmd *cobra.Command, mode *protocolModeFlag)
| 43 | } |
| 44 | |
| 45 | func addProtocolFlag(cmd *cobra.Command, mode *protocolModeFlag) { |
| 46 | cmd.Flags().Var(mode, "protocol", "protocol mode: auto, v1, or v2") |
| 47 | } |
| 48 | |
| 49 | const ( |
| 50 | allRefsUsageBestEffort = "mirror every refs/* on the source (branches, tags, notes, pulls, custom namespaces) on a best-effort basis; per-ref server rejections become warnings rather than failing the sync" |
no outgoing calls
no test coverage detected