Repository navigation
Commit 1b6b241
fix(server): remote status keeps a local upstream named without a slash
statusDetailsRemote passed the upstream from readCurrentUpstreamRef
(already stripped of refs/heads/ or refs/remotes/) through a remote/branch
parser, so a local upstream such as main came back null and the status
dropped the upstream and its divergence. Use the ref as read.
Fixes #35752
Co-Authored-By: Claude Opus 5.5 <[email protected]>1 parent 810cc3b commit 1b6b241
1 file changed
Lines changed: 1 addition & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2098 | 2098 | | |
2099 | 2099 | | |
2100 | 2100 | | |
2101 | | - | |
2102 | | - | |
2103 | | - | |
2104 | | - | |
| 2101 | + | |
2105 | 2102 | | |
2106 | 2103 | | |
2107 | 2104 | | |
| |||
0 commit comments