(name string, u string)
| 40 | } |
| 41 | |
| 42 | func NewRemote(name string, u string) *Remote { |
| 43 | pu, _ := url.Parse(u) |
| 44 | return &Remote{ |
| 45 | Name: name, |
| 46 | FetchURL: pu, |
| 47 | PushURL: pu, |
| 48 | } |
| 49 | } |
| 50 | |
| 51 | // Ref represents a git commit reference. |
| 52 | type Ref struct { |
no outgoing calls