Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows
docs(config): name the bare repo's own location in the worktree-path example (#4006)
Worktrunk Bot51fd3b2b7e65
diff --git a/dev/config.example.toml b/dev/config.example.tomlindex 95c306457..b83d81791 100644--- a/dev/config.example.toml+++ b/dev/config.example.toml@@ -50,7 +50,7 @@## worktree-path = "~/development/{{ owner }}/{{ repo }}/{{ branch }}"#-# Bare repository (`~/code/myproject/feature-auth`):+# Bare repository cloned to `~/code/myproject/.git` (`~/code/myproject/feature-auth`):## worktree-path = "{{ repo_path }}/../{{ branch | sanitize }}"#diff --git a/docs/src/content/docs/config.md b/docs/src/content/docs/config.mdindex b0a22c9e6..675a9f934 100644--- a/docs/src/content/docs/config.md+++ b/docs/src/content/docs/config.md@@ -129,7 +129,7 @@ By remote owner path (`~/development/max-sixty/myproject/feature/auth`):worktree-path = "~/development/{{ owner }}/{{ repo }}/{{ branch }}"```-Bare repository (`~/code/myproject/feature-auth`):+Bare repository cloned to `~/code/myproject/.git` (`~/code/myproject/feature-auth`):```tomlworktree-path = "{{ repo_path }}/../{{ branch | sanitize }}"diff --git a/plugins/worktrunk/skills/worktrunk/reference/config.md b/plugins/worktrunk/skills/worktrunk/reference/config.mdindex 297177fb1..a3bf26f24 100644--- a/plugins/worktrunk/skills/worktrunk/reference/config.md+++ b/plugins/worktrunk/skills/worktrunk/reference/config.md@@ -123,7 +123,7 @@ By remote owner path (`~/development/max-sixty/myproject/feature/auth`):worktree-path = "~/development/{{ owner }}/{{ repo }}/{{ branch }}"```-Bare repository (`~/code/myproject/feature-auth`):+Bare repository cloned to `~/code/myproject/.git` (`~/code/myproject/feature-auth`):```tomlworktree-path = "{{ repo_path }}/../{{ branch | sanitize }}"diff --git a/skills/worktrunk/reference/config.md b/skills/worktrunk/reference/config.mdindex 297177fb1..a3bf26f24 100644--- a/skills/worktrunk/reference/config.md+++ b/skills/worktrunk/reference/config.md@@ -123,7 +123,7 @@ By remote owner path (`~/development/max-sixty/myproject/feature/auth`):worktree-path = "~/development/{{ owner }}/{{ repo }}/{{ branch }}"```-Bare repository (`~/code/myproject/feature-auth`):+Bare repository cloned to `~/code/myproject/.git` (`~/code/myproject/feature-auth`):```tomlworktree-path = "{{ repo_path }}/../{{ branch | sanitize }}"diff --git a/src/cli/mod.rs b/src/cli/mod.rsindex b579a1c9b..67d290609 100644--- a/src/cli/mod.rs+++ b/src/cli/mod.rs@@ -2023,7 +2023,7 @@ By remote owner path (`~/development/max-sixty/myproject/feature/auth`):worktree-path = "~/development/{{ owner }}/{{ repo }}/{{ branch }}"```-Bare repository (`~/code/myproject/feature-auth`):+Bare repository cloned to `~/code/myproject/.git` (`~/code/myproject/feature-auth`):```tomlworktree-path = "{{ repo_path }}/../{{ branch | sanitize }}"diff --git a/tests/snapshots/integration__integration_tests__help__help_config_create.snap b/tests/snapshots/integration__integration_tests__help__help_config_create.snapindex f8d3df2b8..2d034369a 100644--- a/tests/snapshots/integration__integration_tests__help__help_config_create.snap+++ b/tests/snapshots/integration__integration_tests__help__help_config_create.snap@@ -126,7 +126,7 @@ Creates [2m~/.config/worktrunk/config.toml[0m with the following content:[107m [0m [2m#[0m[107m [0m [2m# worktree-path = "~/development/{{ owner }}/{{ repo }}/{{ branch }}"[0m[107m [0m [2m#[0m-[107m [0m [2m# Bare repository (`~/code/myproject/feature-auth`):[0m+[107m [0m [2m# Bare repository cloned to `~/code/myproject/.git` (`~/code/myproject/feature-auth`):[0m[107m [0m [2m#[0m[107m [0m [2m# worktree-path = "{{ repo_path }}/../{{ branch | sanitize }}"[0m[107m [0m [2m#[0mdiff --git a/tests/snapshots/integration__integration_tests__help__help_config_long.snap b/tests/snapshots/integration__integration_tests__help__help_config_long.snapindex febf0e5d6..c5f4f557a 100644--- a/tests/snapshots/integration__integration_tests__help__help_config_long.snap+++ b/tests/snapshots/integration__integration_tests__help__help_config_long.snap@@ -174,7 +174,7 @@ By remote owner path ([2m~/development/max-sixty/myproject/feature/auth[0m):[107m [0m [2mworktree-path = [0m[2m[32m"~/development/{{ owner }}/{{ repo }}/{{ branch }}"[0m-Bare repository ([2m~/code/myproject/feature-auth[0m):+Bare repository cloned to [2m~/code/myproject/.git[0m ([2m~/code/myproject/feature-auth[0m):[107m [0m [2mworktree-path = [0m[2m[32m"{{ repo_path }}/../{{ branch | sanitize }}"[0m