()
| 513 | } |
| 514 | |
| 515 | func (r RemoteTrackingRef) String() string { |
| 516 | return fmt.Sprintf("refs/remotes/%s/%s", r.Remote, r.Branch) |
| 517 | } |
| 518 | |
| 519 | // ParseRemoteTrackingRef parses a string of the form "refs/remotes/<remote>/<branch>" into |
| 520 | // a RemoteTrackingBranch struct. If the string does not match this format, an error is returned. |
no outgoing calls