Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(server): new worktrees fetch their base branch's own remote #21032

Mergedstbenjam(GitHub profile, opens in a new tab)merged 18 commits intomain fromrefs/pull/21032/headmerged by juliusmarminge View on GitHub

Showing 24 changed files with 5 additions and 5 deletions (loading 21).

x
0 of 24 viewed, 24 left
2 additions and 2 deletionsapps/mobile/src/features/settings/SettingsServerControlsRouteScreen.tsxModified
View file
@@ -387,8 +387,8 @@
<SettingsSection title="Worktrees">
<SettingsSwitchRow
icon="arrow.triangle.branch"
- label="Start from origin"
- subtitle="Base new worktrees on the remote branch."
+ label="Start from remote"
+ subtitle="Uses the latest commit of the base branch’s tracked remote branch, even if its name differs. Otherwise uses the same-named branch on origin. Uses your local branch if that remote branch is missing."
value={uniform("newWorktreesStartFromOrigin")}
disabled={disabledFor("newWorktreesStartFromOrigin")}
onValueChange={(value) => write({ newWorktreesStartFromOrigin: value })}
1 addition and 1 deletionapps/mobile/src/features/threads/NewTaskContextPickerScreens.tsxModified
View file
@@ -438,7 +438,7 @@
<ToggleRow
onValueChange={props.worktree.onChangeStartFromOrigin}
- title="Start from origin"
+ title="Start from remote"
value={props.worktree.startFromOrigin}
</View>
2 additions and 2 deletionsapps/mobile/src/features/threads/new-task-context-presentation.test.tsModified
View file
@@ -117,14 +117,14 @@
).toBe("From main");