(extraArgs []string)
| 928 | } |
| 929 | |
| 930 | func parseCloneArgs(extraArgs []string) (args []string, target string) { |
| 931 | args = extraArgs |
| 932 | if len(args) > 0 { |
| 933 | if !strings.HasPrefix(args[0], "-") { |
| 934 | target, args = args[0], args[1:] |
| 935 | } |
| 936 | } |
| 937 | return |
| 938 | } |
| 939 | |
| 940 | func parseRemotes(remotesStr []string) RemoteSet { |
| 941 | remotes := RemoteSet{} |
no outgoing calls