()
| 575 | } |
| 576 | |
| 577 | func (r RemoteTrackingRef) String() string { |
| 578 | return fmt.Sprintf("refs/remotes/%s/%s", r.Remote, r.Branch) |
| 579 | } |
| 580 | |
| 581 | // ParseRemoteTrackingRef parses a string of the form "refs/remotes/<remote>/<branch>" into |
| 582 | // a RemoteTrackingBranch struct. If the string does not match this format, an error is returned. |
no outgoing calls