(extraArgs []string)
| 990 | } |
| 991 | |
| 992 | func parseCloneArgs(extraArgs []string) (args []string, target string) { |
| 993 | args = extraArgs |
| 994 | if len(args) > 0 { |
| 995 | if !strings.HasPrefix(args[0], "-") { |
| 996 | target, args = args[0], args[1:] |
| 997 | } |
| 998 | } |
| 999 | return |
| 1000 | } |
| 1001 | |
| 1002 | func parseRemotes(remotesStr []string) RemoteSet { |
| 1003 | remotes := RemoteSet{} |
no outgoing calls