Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows
docs(step): fix cross-filesystem fallback description (#1513)
Maximilian Roos50edfbfb3649
diff --git a/docs/content/step.md b/docs/content/step.mdindex acb981b93..b5c8653bb 100644--- a/docs/content/step.md+++ b/docs/content/step.md@@ -561,7 +561,7 @@ Without an argument, promotes the current branch — or restores the default braGitignored files (build artifacts, `node_modules/`, `.env`) are swapped along with the branches so each worktree keeps the artifacts that belong to its branch. Files are discovered using the same mechanism as [`copy-ignored`](#wt-step-copy-ignored) and can be filtered with `.worktreeinclude`.-The swap uses `rename()` for each entry — fast regardless of entry size, since only filesystem metadata changes. If `.git/` is on a different filesystem, it falls back to reflink copy.+The swap uses `rename()` for each entry — fast regardless of entry size, since only filesystem metadata changes. If the worktree is on a different filesystem from `.git/`, it falls back to reflink copy.### Command referencediff --git a/skills/worktrunk/reference/step.md b/skills/worktrunk/reference/step.mdindex 09030e261..ebb79cfdb 100644--- a/skills/worktrunk/reference/step.md+++ b/skills/worktrunk/reference/step.md@@ -535,7 +535,7 @@ Without an argument, promotes the current branch — or restores the default braGitignored files (build artifacts, `node_modules/`, `.env`) are swapped along with the branches so each worktree keeps the artifacts that belong to its branch. Files are discovered using the same mechanism as [`copy-ignored`](#wt-step-copy-ignored) and can be filtered with `.worktreeinclude`.-The swap uses `rename()` for each entry — fast regardless of entry size, since only filesystem metadata changes. If `.git/` is on a different filesystem, it falls back to reflink copy.+The swap uses `rename()` for each entry — fast regardless of entry size, since only filesystem metadata changes. If the worktree is on a different filesystem from `.git/`, it falls back to reflink copy.### Command referencediff --git a/src/cli/step.rs b/src/cli/step.rsindex ace4c5900..c7f647ec8 100644--- a/src/cli/step.rs+++ b/src/cli/step.rs@@ -415,7 +415,7 @@ Without an argument, promotes the current branch — or restores the default braGitignored files (build artifacts, `node_modules/`, `.env`) are swapped along with the branches so each worktree keeps the artifacts that belong to its branch. Files are discovered using the same mechanism as [`copy-ignored`](#wt-step-copy-ignored) and can be filtered with `.worktreeinclude`.-The swap uses `rename()` for each entry — fast regardless of entry size, since only filesystem metadata changes. If `.git/` is on a different filesystem, it falls back to reflink copy.+The swap uses `rename()` for each entry — fast regardless of entry size, since only filesystem metadata changes. If the worktree is on a different filesystem from `.git/`, it falls back to reflink copy."#)]Promote {diff --git a/tests/snapshots/integration__integration_tests__help__help_step_promote.snap b/tests/snapshots/integration__integration_tests__help__help_step_promote.snapindex 603a80528..542400cb9 100644--- a/tests/snapshots/integration__integration_tests__help__help_step_promote.snap+++ b/tests/snapshots/integration__integration_tests__help__help_step_promote.snap@@ -90,4 +90,4 @@ Without an argument, promotes the current branch — or restores the default braGitignored files (build artifacts, [2mnode_modules/[0m, [2m.env[0m) are swapped along with the branches so each worktree keeps the artifacts that belong to its branch. Files are discovered using the same mechanism as [2mcopy-ignored[0m and can be filtered with [2m.worktreeinclude[0m.-The swap uses [2mrename()[0m for each entry — fast regardless of entry size, since only filesystem metadata changes. If [2m.git/[0m is on a different filesystem, it falls back to reflink copy.+The swap uses [2mrename()[0m for each entry — fast regardless of entry size, since only filesystem metadata changes. If the worktree is on a different filesystem from [2m.git/[0m, it falls back to reflink copy.