File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -66,11 +66,11 @@ async function getCommitRange(
6666 // if there are no args or the arg is a number, we're talking about a PR
6767 if ( args . length === 0 || typeof args [ 0 ] === 'number' ) {
6868 const prNum = args [ 0 ] || ( await pickPr ( ) )
69- // This commits and parents thing is absurd, but the idea is to use the
70- // parent of the first commit as the base . If we just use the base ref
71- // directly, hwe get the current state of main, which means the diff will
72- // reflect both the current PR and any changes made on main since it branch
73- // edoff .
69+ // This graphql thing is absurd, but the idea is to use the branch point as
70+ // the base, i.e., the parent of the first commit. If we use the base ref
71+ // (e.g., main) directly, we get the current state of main, which means the
72+ // diff will reflect both the current PR and any changes made on main since
73+ // it branched off .
7474 const query = `{
7575 repository(owner: "oxidecomputer", name: "omicron") {
7676 pullRequest(number: ${ prNum } ) {
You can’t perform that action at this time.
0 commit comments