fix(walkthrough): use remote default branch
This commit is contained in:
@@ -55,6 +55,11 @@ written against staged code never silently re-anchors onto an unstaged edit.
|
||||
| `branch` | `branch` | `getRangeDiff` uses three-dot `base...head`, so work merged in from the base branch is excluded |
|
||||
| `pr` | `pr:<number>` | GitHub returns the merge-base diff, matching the branch semantics |
|
||||
|
||||
For the current-branch source, the UI prefers the default branch of the current
|
||||
branch's tracking remote (from its local `remote/HEAD` symbolic ref), then uses
|
||||
the existing conventional-branch fallback. It does not offer the source when the
|
||||
chosen base cannot be resolved locally or through a remote-tracking ref.
|
||||
|
||||
The panel offers the current branch's pull request on its own: it registers with
|
||||
the shared GitHub PR status store (`useGitHubPrStatusStore`) rather than waiting
|
||||
for the pull request panel to have been visited. That store already dedupes
|
||||
|
||||
Reference in New Issue
Block a user