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