Move trackingRef into pr create package

This commit is contained in:
William Martin 2025-01-06 16:58:35 +01:00 committed by Caleb Brose
parent 62ecb1c84d
commit 8b5073d617
3 changed files with 39 additions and 39 deletions

View file

@ -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