Move trackingRef into pr create package
This commit is contained in:
parent
62ecb1c84d
commit
8b5073d617
3 changed files with 39 additions and 39 deletions
|
|
@ -54,16 +54,6 @@ type Ref struct {
|
|||
Name string
|
||||
}
|
||||
|
||||
// TrackingRef represents a ref for a remote tracking branch.
|
||||
type TrackingRef struct {
|
||||
RemoteName string
|
||||
BranchName string
|
||||
}
|
||||
|
||||
func (r TrackingRef) String() string {
|
||||
return "refs/remotes/" + r.RemoteName + "/" + r.BranchName
|
||||
}
|
||||
|
||||
type Commit struct {
|
||||
Sha string
|
||||
Title string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue