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