Skip to content

Commit 3a2f269

Browse files
committed
fix(settings): find clone layout after settings reorganization
1 parent 5e96cd0 commit 3a2f269

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

‎apps/mobile/src/features/settings/settings-search.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ const SETTINGS_SEARCH_TERMS = {
7373
"agent credits",
7474
"default branch",
7575
"automatically pull",
76+
"clone into host folders",
77+
"ghq",
7678
],
7779
SettingsWorktrees: [
7880
"worktree",

‎apps/web/src/components/settings/settingsSearch.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -598,7 +598,7 @@ export const SETTINGS_SEARCH_ITEMS = [
598598
{
599599
id: "ghq-clone-layout",
600600
title: "Clone into host folders",
601-
to: "/settings/general",
601+
to: "/settings/threads",
602602
scope: "environment-defaults",
603603
searchTerms: ["ghq clone destination host owner repository root layout"],
604604
},

‎docs/user/source-control.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ clones over HTTPS with Git's credentials for that host instead, and the project'
139139
HTTPS URL.
140140

141141
To lay clones out like [ghq](https://github.com/x-motemen/ghq), turn on **Clone into host folders**
142-
under **Settings → General** (or **Source control** on mobile). Clones then default to
142+
under **Settings → Threads** (or **Source control** on mobile). Clones then default to
143143
`<host>/<owner>/<repo>` under **Add project starts in**, so set that to `~/ghq` to share ghq's
144144
folders. You can still change the destination before cloning.
145145

0 commit comments

Comments
 (0)