From b61b2298d28cb0eff1d098f1ab9efbe6882042fb Mon Sep 17 00:00:00 2001 From: Kynan Ware <47394200+BagToad@users.noreply.github.com> Date: Mon, 24 Feb 2025 13:13:56 -0700 Subject: [PATCH] doc: fix PullRequestRefs comment --- pkg/cmd/pr/shared/finder.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/cmd/pr/shared/finder.go b/pkg/cmd/pr/shared/finder.go index a54528527..dc9cb8fb9 100644 --- a/pkg/cmd/pr/shared/finder.go +++ b/pkg/cmd/pr/shared/finder.go @@ -99,10 +99,10 @@ type FindOptions struct { // TODO: Does this also need the BaseBranchName? // PR's are represented by the following: -// baseRef -----PR-----> headRef +// headRef -----PR-----> baseRef // // A ref is described as "remoteName/branchName", so -// baseRepoName/baseBranchName -----PR-----> headRepoName/headBranchName +// headRepoName/headBranchName -----PR-----> baseRepoName/baseBranchName type PullRequestRefs struct { BranchName string HeadRepo ghrepo.Interface