You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit c75430d
Browse filesBrowse the repository at this point in the historyBrowse files
fix(server): review guides in a fork checkout cover only the pull request's change
In a checkout with both `origin` (a fork) and `upstream`, the project's
repository identity is read from `upstream`, but the guide fetched the base
branch from the checkout's primary remote, `origin`. When the fork's base
branch was behind upstream's, the guide was measured from that stale tip and
covered every upstream commit since, not the pull request's own change.
The guide now fetches from the remote whose URL is the one the identity was
read from, looked up among the checkout's current remotes so a cached remote
name that has since been renamed still resolves.
"Guides are written from this project's checkout, and this pull request is in another repository. Write it from a project that is a checkout of that repository.",
142
147
});
143
148
}
149
+
returnidentity.locator;
144
150
},
145
151
);
146
152
@@ -179,17 +185,50 @@ const make = Effect.gen(function* () {
0 commit comments