Skip to content

Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows

Use info_message for switching to existing worktrees (#243)

Maximilian Roos48ea2efe6b49
diff --git a/.claude/rules/cli-output-formatting.md b/.claude/rules/cli-output-formatting.md
index b8c2a508d..746bd9d6f 100644
--- a/.claude/rules/cli-output-formatting.md
+++ b/.claude/rules/cli-output-formatting.md
@@ -146,13 +146,22 @@ spawn_background(build_command_that_checks_merge_again()); // Duplicate check!
Seven canonical message patterns with their emojis:
1. **Progress**: πŸ”„ (operations in progress)
-2. **Success**: βœ… (successful completion)
+2. **Success**: βœ… (something was created or changed)
3. **Errors**: ❌ (failures, invalid states)
4. **Warnings**: 🟑 (non-blocking issues)
5. **Hints**: πŸ’‘ (actionable β€” user could/should do something)
6. **Info**: βšͺ (status β€” acknowledging state or user choices, no action needed)
7. **Prompts**: ❓ (questions requiring user input)
+**Success vs Info decision:** Success (βœ…) means something was created or
+changed. Info (βšͺ) means acknowledging state without creating/changing anything.
+
+| Success βœ… | Info βšͺ |
+| --------------------------------------- | ------------------------------------- |
+| "Created worktree for feature" | "Switched to worktree for feature" |
+| "Created new worktree for feature" | "Already on worktree for feature" |
+| "Commands approved & saved" | "All commands already approved" |
+
**Hint vs Info decision:** If the message suggests the user take an action, it's
a hint. If it's acknowledging what happened (including flag effects), it's info.
diff --git a/src/output/handlers.rs b/src/output/handlers.rs
index aff2d14e4..d30ee2f9f 100644
--- a/src/output/handlers.rs
+++ b/src/output/handlers.rs
@@ -19,12 +19,15 @@ use worktrunk::styling::{
info_message, progress_message, success_message, warning_message,
};
-/// Format a switch success message with a consistent location phrase
+/// Format a switch message with a consistent location phrase
///
/// Both interactive and directive modes now use the human-friendly
/// `"Created new worktree for {branch} from {base} @ {path}"` wording so
/// users see the same message regardless of how worktrunk is invoked.
-fn format_switch_success_message(
+///
+/// Returns unstyled text - callers wrap in success_message() for Created
+/// or info_message() for Switched (existing worktree).
+fn format_switch_message(
branch: &str,
path: &Path,
created_branch: bool,
@@ -43,11 +46,11 @@ fn format_switch_success_message(
match source {
Some(src) => cformat!(
- "<green>{action} <bold>{branch}</> from <bold>{src}</> @ <bold>{}</></>",
+ "{action} <bold>{branch}</> from <bold>{src}</> @ <bold>{}</>",
format_path_for_display(path)
),
None => cformat!(
- "<green>{action} <bold>{branch}</> @ <bold>{}</></>",
+ "{action} <bold>{branch}</> @ <bold>{}</>",
format_path_for_display(path)
),
}
@@ -308,7 +311,7 @@ pub fn handle_switch_output(
}
SwitchResult::Existing(_) => {
if is_directive_mode || has_execute_command {
- super::print(success_message(format_switch_success_message(
+ super::print(info_message(format_switch_message(
branch, path, false, None, None,
)))?;
if let Some(warning) = path_mismatch_warning {
@@ -342,7 +345,7 @@ pub fn handle_switch_output(
from_remote,
..
} => {
- super::print(success_message(format_switch_success_message(
+ super::print(success_message(format_switch_message(
branch,
path,
*created_branch,
@@ -884,23 +887,22 @@ mod tests {
use worktrunk::git::IntegrationReason;
#[test]
- fn test_format_switch_success_message() {
+ fn test_format_switch_message() {
let path = PathBuf::from("/tmp/test");
// Switched to existing worktree (no creation, no remote)
- let msg = format_switch_success_message("feature", &path, false, None, None);
+ let msg = format_switch_message("feature", &path, false, None, None);
assert!(msg.contains("Switched to worktree for"));
assert!(msg.contains("feature"));
// Created new worktree from base branch
- let msg = format_switch_success_message("feature", &path, true, Some("main"), None);
+ let msg = format_switch_message("feature", &path, true, Some("main"), None);
assert!(msg.contains("Created new worktree for"));
assert!(msg.contains("from"));
assert!(msg.contains("main"));
// Created worktree from remote (DWIM)
- let msg =
- format_switch_success_message("feature", &path, false, None, Some("origin/feature"));
+ let msg = format_switch_message("feature", &path, false, None, Some("origin/feature"));
assert!(msg.contains("Created worktree for"));
assert!(msg.contains("origin/feature"));
}
diff --git a/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_accept.snap b/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_accept.snap
index 48c689f8f..444321465 100644
--- a/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_accept.snap
+++ b/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_accept.snap
@@ -12,5 +12,5 @@ y
πŸ”„ Running project post-create:
  echo 'test command'
test command
-βœ… Created new worktree for test-approve from main @ [REPO]/repo.test-approve
+βœ… Created new worktree for test-approve from main @ [REPO]/repo.test-approve
πŸ’‘ Run wt config shell install to enable automatic cd
diff --git a/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_decline.snap b/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_decline.snap
index b7bf8943e..629f2f05d 100644
--- a/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_decline.snap
+++ b/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_decline.snap
@@ -10,5 +10,5 @@ n
  echo 'test command'
❓ Allow and remember? [y/N]
βšͺ Commands declined, continuing worktree creation
-βœ… Created new worktree for test-decline from main @ [REPO]/repo.test-decline
+βœ… Created new worktree for test-decline from main @ [REPO]/repo.test-decline
πŸ’‘ Run wt config shell install to enable automatic cd
diff --git a/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_mixed_approved_unapproved_accept.snap b/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_mixed_approved_unapproved_accept.snap
index ddbf21f37..d5e85f37b 100644
--- a/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_mixed_approved_unapproved_accept.snap
+++ b/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_mixed_approved_unapproved_accept.snap
@@ -20,5 +20,5 @@ y
πŸ”„ Running project post-create third:
  echo 'Third command'
Third command
-βœ… Created new worktree for test-mixed-accept from main @ [REPO]/repo.test-mixed-accept
+βœ… Created new worktree for test-mixed-accept from main @ [REPO]/repo.test-mixed-accept
πŸ’‘ Run wt config shell install to enable automatic cd
diff --git a/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_mixed_approved_unapproved_decline.snap b/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_mixed_approved_unapproved_decline.snap
index 8ea459719..3c8902f54 100644
--- a/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_mixed_approved_unapproved_decline.snap
+++ b/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_mixed_approved_unapproved_decline.snap
@@ -12,5 +12,5 @@ n
  echo 'Third command'
❓ Allow and remember? [y/N]
βšͺ Commands declined, continuing worktree creation
-βœ… Created new worktree for test-mixed-decline from main @ [REPO]/repo.test-mixed-decline
+βœ… Created new worktree for test-mixed-decline from main @ [REPO]/repo.test-mixed-decline
πŸ’‘ Run wt config shell install to enable automatic cd
diff --git a/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_multiple_commands.snap b/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_multiple_commands.snap
index 0ac3b6eee..a75b85d22 100644
--- a/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_multiple_commands.snap
+++ b/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_multiple_commands.snap
@@ -22,5 +22,5 @@ y
πŸ”„ Running project post-create third:
  echo 'Third command'
Third command
-βœ… Created new worktree for test-multi from main @ [REPO]/repo.test-multi
+βœ… Created new worktree for test-multi from main @ [REPO]/repo.test-multi
πŸ’‘ Run wt config shell install to enable automatic cd
diff --git a/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_named_commands.snap b/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_named_commands.snap
index 1fe5aaa36..8d7941e91 100644
--- a/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_named_commands.snap
+++ b/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_named_commands.snap
@@ -22,5 +22,5 @@ y
πŸ”„ Running project post-create test:
  echo 'Running tests...'
Running tests...
-βœ… Created new worktree for test-named from main @ [REPO]/repo.test-named
+βœ… Created new worktree for test-named from main @ [REPO]/repo.test-named
πŸ’‘ Run wt config shell install to enable automatic cd
diff --git a/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_permission_error.snap b/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_permission_error.snap
index 45031c6d5..0e2dc2402 100644
--- a/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_permission_error.snap
+++ b/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_permission_error.snap
@@ -14,5 +14,5 @@ y
πŸ”„ Running project post-create:
  echo 'test command'
test command
-βœ… Created new worktree for test-permission from main @ [REPO]/repo.test-permission
+βœ… Created new worktree for test-permission from main @ [REPO]/repo.test-permission
πŸ’‘ Run wt config shell install to enable automatic cd
diff --git a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__bash_shell_integration_hint_suppressed.snap b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__bash_shell_integration_hint_suppressed.snap
index 263f5db8c..a8709db65 100644
--- a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__bash_shell_integration_hint_suppressed.snap
+++ b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__bash_shell_integration_hint_suppressed.snap
@@ -2,4 +2,4 @@
source: tests/integration_tests/shell_wrapper.rs
expression: output.normalized()
---
-βœ… Created new worktree for bash-test from main @ [TMPDIR]/repo.bash-test
+βœ… Created new worktree for bash-test from main @ [TMPDIR]/repo.bash-test
diff --git a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__fish_multiline_command_execution.snap b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__fish_multiline_command_execution.snap
index 28110b2f6..041225d0e 100644
--- a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__fish_multiline_command_execution.snap
+++ b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__fish_multiline_command_execution.snap
@@ -2,7 +2,7 @@
source: tests/integration_tests/shell_wrapper.rs
expression: output.normalized()
---
-βœ… Created new worktree for fish-multiline from main @ [TMPDIR]/repo.fish-multiline
+βœ… Created new worktree for fish-multiline from main @ [TMPDIR]/repo.fish-multiline
πŸ”„ Executing (--execute):
  echo 'line 1'; echo 'line 2'; echo 'line 3'
line 1
diff --git a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__fish_wrapper_handles_empty_chunks.snap b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__fish_wrapper_handles_empty_chunks.snap
index d68270051..8faf7340a 100644
--- a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__fish_wrapper_handles_empty_chunks.snap
+++ b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__fish_wrapper_handles_empty_chunks.snap
@@ -2,4 +2,4 @@
source: tests/integration_tests/shell_wrapper.rs
expression: output.normalized()
---
-βœ… Created new worktree for fish-minimal from main @ [TMPDIR]/repo.fish-minimal
+βœ… Created new worktree for fish-minimal from main @ [TMPDIR]/repo.fish-minimal
diff --git a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__fish_wrapper_preserves_progress_messages.snap b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__fish_wrapper_preserves_progress_messages.snap
index ec797dc26..4d4cf0bcf 100644
--- a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__fish_wrapper_preserves_progress_messages.snap
+++ b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__fish_wrapper_preserves_progress_messages.snap
@@ -2,6 +2,6 @@
source: tests/integration_tests/shell_wrapper.rs
expression: output.normalized()
---
-βœ… Created new worktree for fish-bg from main @ [TMPDIR]/repo.fish-bg
+βœ… Created new worktree for fish-bg from main @ [TMPDIR]/repo.fish-bg
πŸ”„ Running project post-start:
  echo 'fish background task'
diff --git a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__readme_example_hooks_post_create.snap b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__readme_example_hooks_post_create.snap
index f61d8ef6b..218474374 100644
--- a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__readme_example_hooks_post_create.snap
+++ b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__readme_example_hooks_post_create.snap
@@ -7,6 +7,6 @@ expression: output.normalized()
Resolved 24 packages in 145ms
Installed 24 packages in 1.2s
-βœ… Created new worktree for feature-x from main @ [TMPDIR]/repo.feature-x
+βœ… Created new worktree for feature-x from main @ [TMPDIR]/repo.feature-x
πŸ”„ Running project post-start dev:
  uv run dev
diff --git a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__readme_example_simple_switch.snap b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__readme_example_simple_switch.snap
index 907549cc6..0655e6811 100644
--- a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__readme_example_simple_switch.snap
+++ b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__readme_example_simple_switch.snap
@@ -2,4 +2,4 @@
source: tests/integration_tests/shell_wrapper.rs
expression: output.normalized()
---
-βœ… Created new worktree for fix-auth from main @ [TMPDIR]/repo.fix-auth
+βœ… Created new worktree for fix-auth from main @ [TMPDIR]/repo.fix-auth
diff --git a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__readme_example_switch_back.snap b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__readme_example_switch_back.snap
index f3268c42f..ad443d010 100644
--- a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__readme_example_switch_back.snap
+++ b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__readme_example_switch_back.snap
@@ -2,4 +2,4 @@
source: tests/integration_tests/shell_wrapper.rs
expression: output.normalized()
---
-βœ… Switched to worktree for feature-api @ [TMPDIR]/repo.feature-api
+βšͺ Switched to worktree for feature-api @ [TMPDIR]/repo.feature-api
diff --git a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_create.snap b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_create.snap
index 90a29b63e..2359e5884 100644
--- a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_create.snap
+++ b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_create.snap
@@ -2,4 +2,4 @@
source: tests/integration_tests/shell_wrapper.rs
expression: output.normalized()
---
-βœ… Created new worktree for feature from main @ [TMPDIR]/repo.feature
+βœ… Created new worktree for feature from main @ [TMPDIR]/repo.feature
diff --git a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_with_execute.snap b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_with_execute.snap
index 0340884d3..be396fcbb 100644
--- a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_with_execute.snap
+++ b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_with_execute.snap
@@ -2,7 +2,7 @@
source: tests/integration_tests/shell_wrapper.rs
expression: output.normalized()
---
-βœ… Created new worktree for test-exec from main @ [TMPDIR]/repo.test-exec
+βœ… Created new worktree for test-exec from main @ [TMPDIR]/repo.test-exec
πŸ”„ Executing (--execute):
  echo executed
executed
diff --git a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_with_execute_through_wrapper.snap b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_with_execute_through_wrapper.snap
index 0340884d3..be396fcbb 100644
--- a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_with_execute_through_wrapper.snap
+++ b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_with_execute_through_wrapper.snap
@@ -2,7 +2,7 @@
source: tests/integration_tests/shell_wrapper.rs
expression: output.normalized()
---
-βœ… Created new worktree for test-exec from main @ [TMPDIR]/repo.test-exec
+βœ… Created new worktree for test-exec from main @ [TMPDIR]/repo.test-exec
πŸ”„ Executing (--execute):
  echo executed
executed
diff --git a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_with_hooks_zsh.snap b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_with_hooks_zsh.snap
index 947d2e01c..58d5affad 100644
--- a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_with_hooks_zsh.snap
+++ b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_with_hooks_zsh.snap
@@ -8,7 +8,7 @@ Installing dependencies...
πŸ”„ Running project post-create build:
  echo 'Building project...'
Building project...
-βœ… Created new worktree for feature-hooks from main @ [TMPDIR]/repo.feature-hooks
+βœ… Created new worktree for feature-hooks from main @ [TMPDIR]/repo.feature-hooks
πŸ”„ Running project post-start server:
  echo 'Starting dev server on port 3000'
πŸ”„ Running project post-start watch:
diff --git a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_with_post_start_command_no_directive_leak.snap b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_with_post_start_command_no_directive_leak.snap
index 43df32745..f3ef7a850 100644
--- a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_with_post_start_command_no_directive_leak.snap
+++ b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_with_post_start_command_no_directive_leak.snap
@@ -2,6 +2,6 @@
source: tests/integration_tests/shell_wrapper.rs
expression: output.normalized()
---
-βœ… Created new worktree for feature-with-hooks from main @ [TMPDIR]/repo.feature-with-hooks
+βœ… Created new worktree for feature-with-hooks from main @ [TMPDIR]/repo.feature-with-hooks
πŸ”„ Running project post-start:
  echo 'test command executed'
diff --git a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__wrapper_preserves_progress_messages.snap b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__wrapper_preserves_progress_messages.snap
index f229263d9..049297444 100644
--- a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__wrapper_preserves_progress_messages.snap
+++ b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__wrapper_preserves_progress_messages.snap
@@ -2,6 +2,6 @@
source: tests/integration_tests/shell_wrapper.rs
expression: output.normalized()
---
-βœ… Created new worktree for feature-bg from main @ [TMPDIR]/repo.feature-bg
+βœ… Created new worktree for feature-bg from main @ [TMPDIR]/repo.feature-bg
πŸ”„ Running project post-start:
  echo 'background task'
diff --git a/tests/snapshots/integration__integration_tests__approval_ui__already_approved_skip_prompt.snap b/tests/snapshots/integration__integration_tests__approval_ui__already_approved_skip_prompt.snap
index 459465856..4a2d4123e 100644
--- a/tests/snapshots/integration__integration_tests__approval_ui__already_approved_skip_prompt.snap
+++ b/tests/snapshots/integration__integration_tests__approval_ui__already_approved_skip_prompt.snap
@@ -15,6 +15,7 @@ info:
GIT_CONFIG_GLOBAL: "[TEST_GIT_CONFIG]"
GIT_CONFIG_SYSTEM: /dev/null
GIT_EDITOR: ""
+ GIT_TERMINAL_PROMPT: "0"
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
@@ -31,5 +32,5 @@ exit_code: 0
----- stderr -----
πŸ”„ Running project post-create:
  echo 'approved' > output.txt
-βœ… Created new worktree for test-approved from main @ [REPO].test-approved
+βœ… Created new worktree for test-approved from main @ [REPO].test-approved
πŸ’‘ Run wt config shell install to enable automatic cd
diff --git a/tests/snapshots/integration__integration_tests__approval_ui__force_bypasses_tty_check.snap b/tests/snapshots/integration__integration_tests__approval_ui__force_bypasses_tty_check.snap
index 8883c5b4f..9c89fe9ba 100644
--- a/tests/snapshots/integration__integration_tests__approval_ui__force_bypasses_tty_check.snap
+++ b/tests/snapshots/integration__integration_tests__approval_ui__force_bypasses_tty_check.snap
@@ -16,6 +16,7 @@ info:
GIT_CONFIG_GLOBAL: "[TEST_GIT_CONFIG]"
GIT_CONFIG_SYSTEM: /dev/null
GIT_EDITOR: ""
+ GIT_TERMINAL_PROMPT: "0"
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
@@ -33,5 +34,5 @@ exit_code: 0
πŸ”„ Running project post-create:
  echo 'test command'
test command
-βœ… Created new worktree for test-force-tty from main @ [REPO].test-force-tty
+βœ… Created new worktree for test-force-tty from main @ [REPO].test-force-tty
πŸ’‘ Run wt config shell install to enable automatic cd
diff --git a/tests/snapshots/integration__integration_tests__approval_ui__force_does_not_save_approvals_first_run.snap b/tests/snapshots/integration__integration_tests__approval_ui__force_does_not_save_approvals_first_run.snap
index 209f3037d..754d21cf1 100644
--- a/tests/snapshots/integration__integration_tests__approval_ui__force_does_not_save_approvals_first_run.snap
+++ b/tests/snapshots/integration__integration_tests__approval_ui__force_does_not_save_approvals_first_run.snap
@@ -16,6 +16,7 @@ info:
GIT_CONFIG_GLOBAL: "[TEST_GIT_CONFIG]"
GIT_CONFIG_SYSTEM: /dev/null
GIT_EDITOR: ""
+ GIT_TERMINAL_PROMPT: "0"
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
@@ -32,5 +33,5 @@ exit_code: 0
----- stderr -----
πŸ”„ Running project post-create:
  echo 'test command' > output.txt
-βœ… Created new worktree for test-force from main @ [REPO].test-force
+βœ… Created new worktree for test-force from main @ [REPO].test-force
πŸ’‘ Run wt config shell install to enable automatic cd
diff --git a/tests/snapshots/integration__integration_tests__directives__switch_internal_powershell_directive.snap b/tests/snapshots/integration__integration_tests__directives__switch_internal_powershell_directive.snap
index 062e84c96..b00e520fe 100644
--- a/tests/snapshots/integration__integration_tests__directives__switch_internal_powershell_directive.snap
+++ b/tests/snapshots/integration__integration_tests__directives__switch_internal_powershell_directive.snap
@@ -15,6 +15,7 @@ info:
GIT_CONFIG_GLOBAL: "[TEST_GIT_CONFIG]"
GIT_CONFIG_SYSTEM: /dev/null
GIT_EDITOR: ""
+ GIT_TERMINAL_PROMPT: "0"
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
@@ -30,4 +31,4 @@ exit_code: 0
Set-Location '[PATH]'
----- stderr -----
-βœ… Switched to worktree for feature @ [REPO].feature
+βšͺ Switched to worktree for feature @ [REPO].feature
diff --git a/tests/snapshots/integration__integration_tests__merge__readme_example_hooks_post_create.snap b/tests/snapshots/integration__integration_tests__merge__readme_example_hooks_post_create.snap
index e24c21fd7..7774c461f 100644
--- a/tests/snapshots/integration__integration_tests__merge__readme_example_hooks_post_create.snap
+++ b/tests/snapshots/integration__integration_tests__merge__readme_example_hooks_post_create.snap
@@ -16,6 +16,7 @@ info:
GIT_CONFIG_GLOBAL: "[TEST_GIT_CONFIG]"
GIT_CONFIG_SYSTEM: /dev/null
GIT_EDITOR: ""
+ GIT_TERMINAL_PROMPT: "0"
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
@@ -35,7 +36,7 @@ exit_code: 0
Resolved 24 packages in 145ms
Installed 24 packages in 1.2s
-βœ… Created new worktree for feature-x from main @ [REPO].feature-x
+βœ… Created new worktree for feature-x from main @ [REPO].feature-x
πŸ’‘ Run wt config shell install to enable automatic cd
πŸ”„ Running project post-start dev:
  uv run dev
diff --git a/tests/snapshots/integration__integration_tests__merge__readme_example_simple_switch.snap b/tests/snapshots/integration__integration_tests__merge__readme_example_simple_switch.snap
index 158379613..1e74b9646 100644
--- a/tests/snapshots/integration__integration_tests__merge__readme_example_simple_switch.snap
+++ b/tests/snapshots/integration__integration_tests__merge__readme_example_simple_switch.snap
@@ -15,6 +15,7 @@ info:
GIT_CONFIG_GLOBAL: "[TEST_GIT_CONFIG]"
GIT_CONFIG_SYSTEM: /dev/null
GIT_EDITOR: ""
+ GIT_TERMINAL_PROMPT: "0"
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
@@ -29,5 +30,5 @@ exit_code: 0
----- stdout -----
----- stderr -----
-βœ… Created new worktree for fix-auth from main @ [REPO].fix-auth
+βœ… Created new worktree for fix-auth from main @ [REPO].fix-auth
πŸ’‘ Run wt config shell install to enable automatic cd
diff --git a/tests/snapshots/integration__integration_tests__post_start_commands__both_create_and_start.snap b/tests/snapshots/integration__integration_tests__post_start_commands__both_create_and_start.snap
index 870a379c1..3d4deeece 100644
--- a/tests/snapshots/integration__integration_tests__post_start_commands__both_create_and_start.snap
+++ b/tests/snapshots/integration__integration_tests__post_start_commands__both_create_and_start.snap
@@ -15,6 +15,7 @@ info:
GIT_CONFIG_GLOBAL: "[TEST_GIT_CONFIG]"
GIT_CONFIG_SYSTEM: /dev/null
GIT_EDITOR: ""
+ GIT_TERMINAL_PROMPT: "0"
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
@@ -31,7 +32,7 @@ exit_code: 0
----- stderr -----
πŸ”„ Running project post-create:
  echo 'Setup done' > setup.txt
-βœ… Created new worktree for feature from main @ [REPO].feature
+βœ… Created new worktree for feature from main @ [REPO].feature
πŸ’‘ Run wt config shell install to enable automatic cd
πŸ”„ Running project post-start server:
  sleep 0.05 && echo 'Server running' > server.txt
diff --git a/tests/snapshots/integration__integration_tests__post_start_commands__execute_with_post_start.snap b/tests/snapshots/integration__integration_tests__post_start_commands__execute_with_post_start.snap
index eee0bf430..c60125c7d 100644
--- a/tests/snapshots/integration__integration_tests__post_start_commands__execute_with_post_start.snap
+++ b/tests/snapshots/integration__integration_tests__post_start_commands__execute_with_post_start.snap
@@ -17,6 +17,7 @@ info:
GIT_CONFIG_GLOBAL: "[TEST_GIT_CONFIG]"
GIT_CONFIG_SYSTEM: /dev/null
GIT_EDITOR: ""
+ GIT_TERMINAL_PROMPT: "0"
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
@@ -31,7 +32,7 @@ exit_code: 0
----- stdout -----
----- stderr -----
-βœ… Created new worktree for feature from main @ [REPO].feature
+βœ… Created new worktree for feature from main @ [REPO].feature
πŸ”„ Running project post-start:
  echo 'Background task' > background.txt
πŸ”„ Executing (--execute):
diff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_create_default_branch_template.snap b/tests/snapshots/integration__integration_tests__post_start_commands__post_create_default_branch_template.snap
index f7f2147e6..845f966f6 100644
--- a/tests/snapshots/integration__integration_tests__post_start_commands__post_create_default_branch_template.snap
+++ b/tests/snapshots/integration__integration_tests__post_start_commands__post_create_default_branch_template.snap
@@ -16,6 +16,7 @@ info:
GIT_CONFIG_GLOBAL: "[TEST_GIT_CONFIG]"
GIT_CONFIG_SYSTEM: /dev/null
GIT_EDITOR: ""
+ GIT_TERMINAL_PROMPT: "0"
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
@@ -32,5 +33,5 @@ exit_code: 0
----- stderr -----
πŸ”„ Running project post-create:
  echo 'Default: main' > default.txt
-βœ… Created new worktree for feature from main @ [REPO].feature
+βœ… Created new worktree for feature from main @ [REPO].feature
πŸ’‘ Run wt config shell install to enable automatic cd
diff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_create_failing_command.snap b/tests/snapshots/integration__integration_tests__post_start_commands__post_create_failing_command.snap
index 0d9eed9e1..a0b89c11e 100644
--- a/tests/snapshots/integration__integration_tests__post_start_commands__post_create_failing_command.snap
+++ b/tests/snapshots/integration__integration_tests__post_start_commands__post_create_failing_command.snap
@@ -15,6 +15,7 @@ info:
GIT_CONFIG_GLOBAL: "[TEST_GIT_CONFIG]"
GIT_CONFIG_SYSTEM: /dev/null
GIT_EDITOR: ""
+ GIT_TERMINAL_PROMPT: "0"
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
@@ -32,5 +33,5 @@ exit_code: 0
πŸ”„ Running project post-create:
  exit 1
🟑 Command failed: exit status: 1
-βœ… Created new worktree for feature from main @ [REPO].feature
+βœ… Created new worktree for feature from main @ [REPO].feature
πŸ’‘ Run wt config shell install to enable automatic cd
diff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_create_git_variables_template.snap b/tests/snapshots/integration__integration_tests__post_start_commands__post_create_git_variables_template.snap
index 8663d1843..a301ba946 100644
--- a/tests/snapshots/integration__integration_tests__post_start_commands__post_create_git_variables_template.snap
+++ b/tests/snapshots/integration__integration_tests__post_start_commands__post_create_git_variables_template.snap
@@ -16,6 +16,7 @@ info:
GIT_CONFIG_GLOBAL: "[TEST_GIT_CONFIG]"
GIT_CONFIG_SYSTEM: /dev/null
GIT_EDITOR: ""
+ GIT_TERMINAL_PROMPT: "0"
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
@@ -38,5 +39,5 @@ exit_code: 0
  echo 'Remote: origin' >> git_vars.txt
πŸ”„ Running project post-create worktree_name:
  echo 'Worktree Name: repo.feature' >> git_vars.txt
-βœ… Created new worktree for feature from main @ [REPO].feature
+βœ… Created new worktree for feature from main @ [REPO].feature
πŸ’‘ Run wt config shell install to enable automatic cd
diff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_create_multiline_control_structure.snap b/tests/snapshots/integration__integration_tests__post_start_commands__post_create_multiline_control_structure.snap
index c7660ce9e..c1a9f8211 100644
--- a/tests/snapshots/integration__integration_tests__post_start_commands__post_create_multiline_control_structure.snap
+++ b/tests/snapshots/integration__integration_tests__post_start_commands__post_create_multiline_control_structure.snap
@@ -15,6 +15,7 @@ info:
GIT_CONFIG_GLOBAL: "[TEST_GIT_CONFIG]"
GIT_CONFIG_SYSTEM: /dev/null
GIT_EDITOR: ""
+ GIT_TERMINAL_PROMPT: "0"
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
@@ -35,5 +36,5 @@ exit_code: 0
  else
  echo 'File exists' > result.txt
  fi
-βœ… Created new worktree for feature from main @ [REPO].feature
+βœ… Created new worktree for feature from main @ [REPO].feature
πŸ’‘ Run wt config shell install to enable automatic cd
diff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_create_named_commands.snap b/tests/snapshots/integration__integration_tests__post_start_commands__post_create_named_commands.snap
index 08cf23c88..fe914264f 100644
--- a/tests/snapshots/integration__integration_tests__post_start_commands__post_create_named_commands.snap
+++ b/tests/snapshots/integration__integration_tests__post_start_commands__post_create_named_commands.snap
@@ -15,6 +15,7 @@ info:
GIT_CONFIG_GLOBAL: "[TEST_GIT_CONFIG]"
GIT_CONFIG_SYSTEM: /dev/null
GIT_EDITOR: ""
+ GIT_TERMINAL_PROMPT: "0"
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
@@ -35,5 +36,5 @@ exit_code: 0
πŸ”„ Running project post-create setup:
  echo 'Running setup'
Running setup
-βœ… Created new worktree for feature from main @ [REPO].feature
+βœ… Created new worktree for feature from main @ [REPO].feature
πŸ’‘ Run wt config shell install to enable automatic cd
diff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_create_no_config.snap b/tests/snapshots/integration__integration_tests__post_start_commands__post_create_no_config.snap
index c2939dce9..f6de5a5bd 100644
--- a/tests/snapshots/integration__integration_tests__post_start_commands__post_create_no_config.snap
+++ b/tests/snapshots/integration__integration_tests__post_start_commands__post_create_no_config.snap
@@ -15,6 +15,7 @@ info:
GIT_CONFIG_GLOBAL: "[TEST_GIT_CONFIG]"
GIT_CONFIG_SYSTEM: /dev/null
GIT_EDITOR: ""
+ GIT_TERMINAL_PROMPT: "0"
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
@@ -29,5 +30,5 @@ exit_code: 0
----- stdout -----
----- stderr -----
-βœ… Created new worktree for feature from main @ [REPO].feature
+βœ… Created new worktree for feature from main @ [REPO].feature
πŸ’‘ Run wt config shell install to enable automatic cd
diff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_create_single_command.snap b/tests/snapshots/integration__integration_tests__post_start_commands__post_create_single_command.snap
index 9f9656212..feb8373d5 100644
--- a/tests/snapshots/integration__integration_tests__post_start_commands__post_create_single_command.snap
+++ b/tests/snapshots/integration__integration_tests__post_start_commands__post_create_single_command.snap
@@ -15,6 +15,7 @@ info:
GIT_CONFIG_GLOBAL: "[TEST_GIT_CONFIG]"
GIT_CONFIG_SYSTEM: /dev/null
GIT_EDITOR: ""
+ GIT_TERMINAL_PROMPT: "0"
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
@@ -32,5 +33,5 @@ exit_code: 0
πŸ”„ Running project post-create:
  echo 'Setup complete'
Setup complete
-βœ… Created new worktree for feature from main @ [REPO].feature
+βœ… Created new worktree for feature from main @ [REPO].feature
πŸ’‘ Run wt config shell install to enable automatic cd
diff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_create_template_expansion.snap b/tests/snapshots/integration__integration_tests__post_start_commands__post_create_template_expansion.snap
index 29d980515..b585fff03 100644
--- a/tests/snapshots/integration__integration_tests__post_start_commands__post_create_template_expansion.snap
+++ b/tests/snapshots/integration__integration_tests__post_start_commands__post_create_template_expansion.snap
@@ -15,6 +15,7 @@ info:
GIT_CONFIG_GLOBAL: "[TEST_GIT_CONFIG]"
GIT_CONFIG_SYSTEM: /dev/null
GIT_EDITOR: ""
+ GIT_TERMINAL_PROMPT: "0"
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
@@ -37,5 +38,5 @@ exit_code: 0
  echo 'Worktree: [REPO].feature-test' >> info.txt
πŸ”„ Running project post-create root:
  echo 'Root: [REPO]' >> info.txt
-βœ… Created new worktree for feature/test from main @ [REPO].feature-test
+βœ… Created new worktree for feature/test from main @ [REPO].feature-test
πŸ’‘ Run wt config shell install to enable automatic cd
diff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_create_upstream_template.snap b/tests/snapshots/integration__integration_tests__post_start_commands__post_create_upstream_template.snap
index ee1439a27..99781d503 100644
--- a/tests/snapshots/integration__integration_tests__post_start_commands__post_create_upstream_template.snap
+++ b/tests/snapshots/integration__integration_tests__post_start_commands__post_create_upstream_template.snap
@@ -16,6 +16,7 @@ info:
GIT_CONFIG_GLOBAL: "[TEST_GIT_CONFIG]"
GIT_CONFIG_SYSTEM: /dev/null
GIT_EDITOR: ""
+ GIT_TERMINAL_PROMPT: "0"
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
@@ -32,5 +33,5 @@ exit_code: 0
----- stderr -----
πŸ”„ Running project post-create:
  echo 'Upstream: ' > upstream.txt
-βœ… Created new worktree for feature from main @ [REPO].feature
+βœ… Created new worktree for feature from main @ [REPO].feature
πŸ’‘ Run wt config shell install to enable automatic cd
diff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_complex_shell.snap b/tests/snapshots/integration__integration_tests__post_start_commands__post_start_complex_shell.snap
index c89e107cf..2c150444e 100644
--- a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_complex_shell.snap
+++ b/tests/snapshots/integration__integration_tests__post_start_commands__post_start_complex_shell.snap
@@ -15,6 +15,7 @@ info:
GIT_CONFIG_GLOBAL: "[TEST_GIT_CONFIG]"
GIT_CONFIG_SYSTEM: /dev/null
GIT_EDITOR: ""
+ GIT_TERMINAL_PROMPT: "0"
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
@@ -29,7 +30,7 @@ exit_code: 0
----- stdout -----
----- stderr -----
-βœ… Created new worktree for feature from main @ [REPO].feature
+βœ… Created new worktree for feature from main @ [REPO].feature
πŸ’‘ Run wt config shell install to enable automatic cd
πŸ”„ Running project post-start:
  echo 'line1
diff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_create_with_command.snap b/tests/snapshots/integration__integration_tests__post_start_commands__post_start_create_with_command.snap
index 6847ddc7e..36418475d 100644
--- a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_create_with_command.snap
+++ b/tests/snapshots/integration__integration_tests__post_start_commands__post_start_create_with_command.snap
@@ -15,6 +15,7 @@ info:
GIT_CONFIG_GLOBAL: "[TEST_GIT_CONFIG]"
GIT_CONFIG_SYSTEM: /dev/null
GIT_EDITOR: ""
+ GIT_TERMINAL_PROMPT: "0"
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
@@ -29,7 +30,7 @@ exit_code: 0
----- stdout -----
----- stderr -----
-βœ… Created new worktree for feature from main @ [REPO].feature
+βœ… Created new worktree for feature from main @ [REPO].feature
πŸ’‘ Run wt config shell install to enable automatic cd
πŸ”„ Running project post-start:
  echo 'POST-START-RAN' > post_start_marker.txt
diff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_invalid_command.snap b/tests/snapshots/integration__integration_tests__post_start_commands__post_start_invalid_command.snap
index 52ddeea49..44692086c 100644
--- a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_invalid_command.snap
+++ b/tests/snapshots/integration__integration_tests__post_start_commands__post_start_invalid_command.snap
@@ -15,6 +15,7 @@ info:
GIT_CONFIG_GLOBAL: "[TEST_GIT_CONFIG]"
GIT_CONFIG_SYSTEM: /dev/null
GIT_EDITOR: ""
+ GIT_TERMINAL_PROMPT: "0"
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
@@ -29,7 +30,7 @@ exit_code: 0
----- stdout -----
----- stderr -----
-βœ… Created new worktree for feature from main @ [REPO].feature
+βœ… Created new worktree for feature from main @ [REPO].feature
πŸ’‘ Run wt config shell install to enable automatic cd
πŸ”„ Running project post-start:
  echo 'unclosed quote
diff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_log_captures_output.snap b/tests/snapshots/integration__integration_tests__post_start_commands__post_start_log_captures_output.snap
index 9e396ff81..147baabdb 100644
--- a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_log_captures_output.snap
+++ b/tests/snapshots/integration__integration_tests__post_start_commands__post_start_log_captures_output.snap
@@ -15,6 +15,7 @@ info:
GIT_CONFIG_GLOBAL: "[TEST_GIT_CONFIG]"
GIT_CONFIG_SYSTEM: /dev/null
GIT_EDITOR: ""
+ GIT_TERMINAL_PROMPT: "0"
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
@@ -29,7 +30,7 @@ exit_code: 0
----- stdout -----
----- stderr -----
-βœ… Created new worktree for feature from main @ [REPO].feature
+βœ… Created new worktree for feature from main @ [REPO].feature
πŸ’‘ Run wt config shell install to enable automatic cd
πŸ”„ Running project post-start:
  echo 'stdout output' && echo 'stderr output' >&2
diff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_multiline_with_newlines.snap b/tests/snapshots/integration__integration_tests__post_start_commands__post_start_multiline_with_newlines.snap
index b4846de12..eb767cbde 100644
--- a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_multiline_with_newlines.snap
+++ b/tests/snapshots/integration__integration_tests__post_start_commands__post_start_multiline_with_newlines.snap
@@ -15,6 +15,7 @@ info:
GIT_CONFIG_GLOBAL: "[TEST_GIT_CONFIG]"
GIT_CONFIG_SYSTEM: /dev/null
GIT_EDITOR: ""
+ GIT_TERMINAL_PROMPT: "0"
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
@@ -29,7 +30,7 @@ exit_code: 0
----- stdout -----
----- stderr -----
-βœ… Created new worktree for feature from main @ [REPO].feature
+βœ… Created new worktree for feature from main @ [REPO].feature
πŸ’‘ Run wt config shell install to enable automatic cd
πŸ”„ Running project post-start:
  echo 'first line' > multiline.txt
diff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_multiple_background.snap b/tests/snapshots/integration__integration_tests__post_start_commands__post_start_multiple_background.snap
index fa383884a..b92a1c532 100644
--- a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_multiple_background.snap
+++ b/tests/snapshots/integration__integration_tests__post_start_commands__post_start_multiple_background.snap
@@ -15,6 +15,7 @@ info:
GIT_CONFIG_GLOBAL: "[TEST_GIT_CONFIG]"
GIT_CONFIG_SYSTEM: /dev/null
GIT_EDITOR: ""
+ GIT_TERMINAL_PROMPT: "0"
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
@@ -29,7 +30,7 @@ exit_code: 0
----- stdout -----
----- stderr -----
-βœ… Created new worktree for feature from main @ [REPO].feature
+βœ… Created new worktree for feature from main @ [REPO].feature
πŸ’‘ Run wt config shell install to enable automatic cd
πŸ”„ Running project post-start task1:
  echo 'Task 1 running' > task1.txt
diff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_separate_logs.snap b/tests/snapshots/integration__integration_tests__post_start_commands__post_start_separate_logs.snap
index 8a8fd6244..8de4e412d 100644
--- a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_separate_logs.snap
+++ b/tests/snapshots/integration__integration_tests__post_start_commands__post_start_separate_logs.snap
@@ -15,6 +15,7 @@ info:
GIT_CONFIG_GLOBAL: "[TEST_GIT_CONFIG]"
GIT_CONFIG_SYSTEM: /dev/null
GIT_EDITOR: ""
+ GIT_TERMINAL_PROMPT: "0"
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
@@ -29,7 +30,7 @@ exit_code: 0
----- stdout -----
----- stderr -----
-βœ… Created new worktree for feature from main @ [REPO].feature
+βœ… Created new worktree for feature from main @ [REPO].feature
πŸ’‘ Run wt config shell install to enable automatic cd
πŸ”„ Running project post-start task1:
  echo 'TASK1_OUTPUT'
diff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_single_background.snap b/tests/snapshots/integration__integration_tests__post_start_commands__post_start_single_background.snap
index 13b41660f..6fb877c9f 100644
--- a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_single_background.snap
+++ b/tests/snapshots/integration__integration_tests__post_start_commands__post_start_single_background.snap
@@ -15,6 +15,7 @@ info:
GIT_CONFIG_GLOBAL: "[TEST_GIT_CONFIG]"
GIT_CONFIG_SYSTEM: /dev/null
GIT_EDITOR: ""
+ GIT_TERMINAL_PROMPT: "0"
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
@@ -29,7 +30,7 @@ exit_code: 0
----- stdout -----
----- stderr -----
-βœ… Created new worktree for feature from main @ [REPO].feature
+βœ… Created new worktree for feature from main @ [REPO].feature
πŸ’‘ Run wt config shell install to enable automatic cd
πŸ”„ Running project post-start:
  sleep 0.1 && echo 'Background task done' > background.txt
diff --git a/tests/snapshots/integration__integration_tests__switch__create_with_base_main.snap b/tests/snapshots/integration__integration_tests__switch__create_with_base_main.snap
index c839784cd..46d49a988 100644
--- a/tests/snapshots/integration__integration_tests__switch__create_with_base_main.snap
+++ b/tests/snapshots/integration__integration_tests__switch__create_with_base_main.snap
@@ -17,6 +17,7 @@ info:
GIT_CONFIG_GLOBAL: "[TEST_GIT_CONFIG]"
GIT_CONFIG_SYSTEM: /dev/null
GIT_EDITOR: ""
+ GIT_TERMINAL_PROMPT: "0"
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
@@ -31,5 +32,5 @@ exit_code: 0
----- stdout -----
----- stderr -----
-βœ… Created new worktree for new-feature from main @ [REPO].new-feature
+βœ… Created new worktree for new-feature from main @ [REPO].new-feature
πŸ’‘ Run wt config shell install to enable automatic cd
diff --git a/tests/snapshots/integration__integration_tests__switch__ping_pong_1_main_to_feature_a.snap b/tests/snapshots/integration__integration_tests__switch__ping_pong_1_main_to_feature_a.snap
index 68c204c38..fa7cd23f8 100644
--- a/tests/snapshots/integration__integration_tests__switch__ping_pong_1_main_to_feature_a.snap
+++ b/tests/snapshots/integration__integration_tests__switch__ping_pong_1_main_to_feature_a.snap
@@ -14,6 +14,7 @@ info:
GIT_CONFIG_GLOBAL: "[TEST_GIT_CONFIG]"
GIT_CONFIG_SYSTEM: /dev/null
GIT_EDITOR: ""
+ GIT_TERMINAL_PROMPT: "0"
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
@@ -28,5 +29,5 @@ exit_code: 0
----- stdout -----
----- stderr -----
-βœ… Switched to worktree for feature-a @ [REPO].feature-a
+βœ… Switched to worktree for feature-a @ [REPO].feature-a
πŸ’‘ Run wt config shell install to enable automatic cd
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_clobber_path_with_extension.snap b/tests/snapshots/integration__integration_tests__switch__switch_clobber_path_with_extension.snap
index 2863da85f..252ffebbf 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_clobber_path_with_extension.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_clobber_path_with_extension.snap
@@ -32,5 +32,5 @@ exit_code: 0
----- stderr -----
🟑 Moving [REPO].clobber-ext.txt to [REPO].clobber-ext.txt.bak.20250102-000000 (--clobber)
-βœ… Created new worktree for clobber-ext.txt from main @ [REPO].clobber-ext.txt
+βœ… Created new worktree for clobber-ext.txt from main @ [REPO].clobber-ext.txt
πŸ’‘ Run wt config shell install to enable automatic cd
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_clobber_removes_stale_dir.snap b/tests/snapshots/integration__integration_tests__switch__switch_clobber_removes_stale_dir.snap
index 0e3f9b1de..36f0f86fc 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_clobber_removes_stale_dir.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_clobber_removes_stale_dir.snap
@@ -32,5 +32,5 @@ exit_code: 0
----- stderr -----
🟑 Moving [REPO].clobber-dir-test to [REPO].clobber-dir-test.bak.20250102-000000 (--clobber)
-βœ… Created new worktree for clobber-dir-test from main @ [REPO].clobber-dir-test
+βœ… Created new worktree for clobber-dir-test from main @ [REPO].clobber-dir-test
πŸ’‘ Run wt config shell install to enable automatic cd
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_clobber_removes_stale_file.snap b/tests/snapshots/integration__integration_tests__switch__switch_clobber_removes_stale_file.snap
index 06a823f53..6d1e5349a 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_clobber_removes_stale_file.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_clobber_removes_stale_file.snap
@@ -32,5 +32,5 @@ exit_code: 0
----- stderr -----
🟑 Moving [REPO].clobber-file-test to [REPO].clobber-file-test.bak.20250102-000000 (--clobber)
-βœ… Created new worktree for clobber-file-test from main @ [REPO].clobber-file-test
+βœ… Created new worktree for clobber-file-test from main @ [REPO].clobber-file-test
πŸ’‘ Run wt config shell install to enable automatic cd
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_create_new.snap b/tests/snapshots/integration__integration_tests__switch__switch_create_new.snap
index 6e1f4ab48..7245eccc7 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_create_new.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_create_new.snap
@@ -15,6 +15,7 @@ info:
GIT_CONFIG_GLOBAL: "[TEST_GIT_CONFIG]"
GIT_CONFIG_SYSTEM: /dev/null
GIT_EDITOR: ""
+ GIT_TERMINAL_PROMPT: "0"
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
@@ -29,5 +30,5 @@ exit_code: 0
----- stdout -----
----- stderr -----
-βœ… Created new worktree for feature-x from main @ [REPO].feature-x
+βœ… Created new worktree for feature-x from main @ [REPO].feature-x
πŸ’‘ Run wt config shell install to enable automatic cd
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_create_no_remote.snap b/tests/snapshots/integration__integration_tests__switch__switch_create_no_remote.snap
index ca2fe428c..558a18ee5 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_create_no_remote.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_create_no_remote.snap
@@ -15,6 +15,7 @@ info:
GIT_CONFIG_GLOBAL: "[TEST_GIT_CONFIG]"
GIT_CONFIG_SYSTEM: /dev/null
GIT_EDITOR: ""
+ GIT_TERMINAL_PROMPT: "0"
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
@@ -29,5 +30,5 @@ exit_code: 0
----- stdout -----
----- stderr -----
-βœ… Created new worktree for feature from main @ [REPO].feature
+βœ… Created new worktree for feature from main @ [REPO].feature
πŸ’‘ Run wt config shell install to enable automatic cd
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_create_remote_only.snap b/tests/snapshots/integration__integration_tests__switch__switch_create_remote_only.snap
index b64e9fea9..966ae8045 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_create_remote_only.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_create_remote_only.snap
@@ -15,6 +15,7 @@ info:
GIT_CONFIG_GLOBAL: "[TEST_GIT_CONFIG]"
GIT_CONFIG_SYSTEM: /dev/null
GIT_EDITOR: ""
+ GIT_TERMINAL_PROMPT: "0"
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
@@ -31,5 +32,5 @@ exit_code: 0
----- stderr -----
🟑 Branch remote-feature exists on remote (origin/remote-feature); creating new branch from base instead
πŸ’‘ Use wt switch remote-feature (without --create) to switch to the remote branch
-βœ… Created new worktree for remote-feature from main @ [REPO].remote-feature
+βœ… Created new worktree for remote-feature from main @ [REPO].remote-feature
πŸ’‘ Run wt config shell install to enable automatic cd
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_execute_creates_file.snap b/tests/snapshots/integration__integration_tests__switch__switch_execute_creates_file.snap
index d32b399d8..b56d5f4ca 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_execute_creates_file.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_execute_creates_file.snap
@@ -17,6 +17,7 @@ info:
GIT_CONFIG_GLOBAL: "[TEST_GIT_CONFIG]"
GIT_CONFIG_SYSTEM: /dev/null
GIT_EDITOR: ""
+ GIT_TERMINAL_PROMPT: "0"
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
@@ -31,6 +32,6 @@ exit_code: 0
----- stdout -----
----- stderr -----
-βœ… Created new worktree for file-test from main @ [REPO].file-test
+βœ… Created new worktree for file-test from main @ [REPO].file-test
πŸ”„ Executing (--execute):
  echo 'test content' > test.txt
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_execute_existing.snap b/tests/snapshots/integration__integration_tests__switch__switch_execute_existing.snap
index 1897ea46d..1c0420ebd 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_execute_existing.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_execute_existing.snap
@@ -16,6 +16,7 @@ info:
GIT_CONFIG_GLOBAL: "[TEST_GIT_CONFIG]"
GIT_CONFIG_SYSTEM: /dev/null
GIT_EDITOR: ""
+ GIT_TERMINAL_PROMPT: "0"
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
@@ -30,6 +31,6 @@ exit_code: 0
----- stdout -----
----- stderr -----
-βœ… Switched to worktree for existing-exec @ [REPO].existing-exec
+βšͺ Switched to worktree for existing-exec @ [REPO].existing-exec
πŸ”„ Executing (--execute):
  echo 'existing worktree' > existing.txt
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_execute_failure.snap b/tests/snapshots/integration__integration_tests__switch__switch_execute_failure.snap
index 31292d19b..62803abb9 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_execute_failure.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_execute_failure.snap
@@ -17,6 +17,7 @@ info:
GIT_CONFIG_GLOBAL: "[TEST_GIT_CONFIG]"
GIT_CONFIG_SYSTEM: /dev/null
GIT_EDITOR: ""
+ GIT_TERMINAL_PROMPT: "0"
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
@@ -31,6 +32,6 @@ exit_code: 1
----- stdout -----
----- stderr -----
-βœ… Created new worktree for fail-test from main @ [REPO].fail-test
+βœ… Created new worktree for fail-test from main @ [REPO].fail-test
πŸ”„ Executing (--execute):
  exit 1
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_execute_multiline.snap b/tests/snapshots/integration__integration_tests__switch__switch_execute_multiline.snap
index 6973d54d5..a0395e94e 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_execute_multiline.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_execute_multiline.snap
@@ -17,6 +17,7 @@ info:
GIT_CONFIG_GLOBAL: "[TEST_GIT_CONFIG]"
GIT_CONFIG_SYSTEM: /dev/null
GIT_EDITOR: ""
+ GIT_TERMINAL_PROMPT: "0"
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
@@ -34,7 +35,7 @@ line2
line3
----- stderr -----
-βœ… Created new worktree for multiline-test from main @ [REPO].multiline-test
+βœ… Created new worktree for multiline-test from main @ [REPO].multiline-test
πŸ”„ Executing (--execute):
  echo 'line1'
  echo 'line2'
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_execute_success.snap b/tests/snapshots/integration__integration_tests__switch__switch_execute_success.snap
index b47bfdeb1..f9147c5c9 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_execute_success.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_execute_success.snap
@@ -17,6 +17,7 @@ info:
GIT_CONFIG_GLOBAL: "[TEST_GIT_CONFIG]"
GIT_CONFIG_SYSTEM: /dev/null
GIT_EDITOR: ""
+ GIT_TERMINAL_PROMPT: "0"
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
@@ -32,6 +33,6 @@ exit_code: 0
test output
----- stderr -----
-βœ… Created new worktree for exec-test from main @ [REPO].exec-test
+βœ… Created new worktree for exec-test from main @ [REPO].exec-test
πŸ”„ Executing (--execute):
  echo 'test output'
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_existing_internal.snap b/tests/snapshots/integration__integration_tests__switch__switch_existing_internal.snap
index a77e81774..316a27037 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_existing_internal.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_existing_internal.snap
@@ -15,6 +15,7 @@ info:
GIT_CONFIG_GLOBAL: "[TEST_GIT_CONFIG]"
GIT_CONFIG_SYSTEM: /dev/null
GIT_EDITOR: ""
+ GIT_TERMINAL_PROMPT: "0"
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
@@ -30,4 +31,4 @@ exit_code: 0
cd '[REPO].existing-wt'
----- stderr -----
-βœ… Switched to worktree for existing-wt @ [REPO].existing-wt
+βšͺ Switched to worktree for existing-wt @ [REPO].existing-wt
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_internal_execute_exit_code.snap b/tests/snapshots/integration__integration_tests__switch__switch_internal_execute_exit_code.snap
index f013be111..faef2093c 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_internal_execute_exit_code.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_internal_execute_exit_code.snap
@@ -18,6 +18,7 @@ info:
GIT_CONFIG_GLOBAL: "[TEST_GIT_CONFIG]"
GIT_CONFIG_SYSTEM: /dev/null
GIT_EDITOR: ""
+ GIT_TERMINAL_PROMPT: "0"
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
@@ -34,6 +35,6 @@ cd '[REPO].exit-code-test'
exit 42
----- stderr -----
-βœ… Created new worktree for exit-code-test from main @ [REPO].exit-code-test
+βœ… Created new worktree for exit-code-test from main @ [REPO].exit-code-test
πŸ”„ Executing (--execute):
  exit 42
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_internal_execute_output_then_exit.snap b/tests/snapshots/integration__integration_tests__switch__switch_internal_execute_output_then_exit.snap
index a2bf56067..58d038d65 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_internal_execute_output_then_exit.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_internal_execute_output_then_exit.snap
@@ -18,6 +18,7 @@ info:
GIT_CONFIG_GLOBAL: "[TEST_GIT_CONFIG]"
GIT_CONFIG_SYSTEM: /dev/null
GIT_EDITOR: ""
+ GIT_TERMINAL_PROMPT: "0"
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
@@ -35,7 +36,7 @@ echo 'doing work'
exit 7
----- stderr -----
-βœ… Created new worktree for output-exit-test from main @ [REPO].output-exit-test
+βœ… Created new worktree for output-exit-test from main @ [REPO].output-exit-test
πŸ”„ Executing (--execute):
  echo 'doing work'
  exit 7
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_internal_mode.snap b/tests/snapshots/integration__integration_tests__switch__switch_internal_mode.snap
index b7c96d38f..4b1dae8d5 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_internal_mode.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_internal_mode.snap
@@ -16,6 +16,7 @@ info:
GIT_CONFIG_GLOBAL: "[TEST_GIT_CONFIG]"
GIT_CONFIG_SYSTEM: /dev/null
GIT_EDITOR: ""
+ GIT_TERMINAL_PROMPT: "0"
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
@@ -31,4 +32,4 @@ exit_code: 0
cd '[REPO].internal-test'
----- stderr -----
-βœ… Created new worktree for internal-test from main @ [REPO].internal-test
+βœ… Created new worktree for internal-test from main @ [REPO].internal-test
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_internal_with_execute.snap b/tests/snapshots/integration__integration_tests__switch__switch_internal_with_execute.snap
index 0eb3f6231..e1e18dbdd 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_internal_with_execute.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_internal_with_execute.snap
@@ -18,6 +18,7 @@ info:
GIT_CONFIG_GLOBAL: "[TEST_GIT_CONFIG]"
GIT_CONFIG_SYSTEM: /dev/null
GIT_EDITOR: ""
+ GIT_TERMINAL_PROMPT: "0"
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
@@ -35,7 +36,7 @@ echo 'line1'
echo 'line2'
----- stderr -----
-βœ… Created new worktree for exec-internal from main @ [REPO].exec-internal
+βœ… Created new worktree for exec-internal from main @ [REPO].exec-internal
πŸ”„ Executing (--execute):
  echo 'line1'
  echo 'line2'
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_main_branch_to_feature.snap b/tests/snapshots/integration__integration_tests__switch__switch_main_branch_to_feature.snap
index 68c204c38..fa7cd23f8 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_main_branch_to_feature.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_main_branch_to_feature.snap
@@ -14,6 +14,7 @@ info:
GIT_CONFIG_GLOBAL: "[TEST_GIT_CONFIG]"
GIT_CONFIG_SYSTEM: /dev/null
GIT_EDITOR: ""
+ GIT_TERMINAL_PROMPT: "0"
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
@@ -28,5 +29,5 @@ exit_code: 0
----- stdout -----
----- stderr -----
-βœ… Switched to worktree for feature-a @ [REPO].feature-a
+βœ… Switched to worktree for feature-a @ [REPO].feature-a
πŸ’‘ Run wt config shell install to enable automatic cd
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_no_hooks_execute_still_runs.snap b/tests/snapshots/integration__integration_tests__switch__switch_no_hooks_execute_still_runs.snap
index 002eb28c6..62836ed53 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_no_hooks_execute_still_runs.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_no_hooks_execute_still_runs.snap
@@ -18,6 +18,7 @@ info:
GIT_CONFIG_GLOBAL: "[TEST_GIT_CONFIG]"
GIT_CONFIG_SYSTEM: /dev/null
GIT_EDITOR: ""
+ GIT_TERMINAL_PROMPT: "0"
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
@@ -33,6 +34,6 @@ exit_code: 0
execute command runs
----- stderr -----
-βœ… Created new worktree for no-hooks-test from main @ [REPO].no-hooks-test
+βœ… Created new worktree for no-hooks-test from main @ [REPO].no-hooks-test
πŸ”„ Executing (--execute):
  echo 'execute command runs'
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_no_hooks_existing.snap b/tests/snapshots/integration__integration_tests__switch__switch_no_hooks_existing.snap
index f82437dbe..319faea2c 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_no_hooks_existing.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_no_hooks_existing.snap
@@ -17,6 +17,7 @@ info:
GIT_CONFIG_GLOBAL: "[TEST_GIT_CONFIG]"
GIT_CONFIG_SYSTEM: /dev/null
GIT_EDITOR: ""
+ GIT_TERMINAL_PROMPT: "0"
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
@@ -32,6 +33,6 @@ exit_code: 0
execute still runs
----- stderr -----
-βœ… Switched to worktree for existing-no-hooks @ [REPO].existing-no-hooks
+βšͺ Switched to worktree for existing-no-hooks @ [REPO].existing-no-hooks
πŸ”„ Executing (--execute):
  echo 'execute still runs'
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_no_hooks_skips_post_start.snap b/tests/snapshots/integration__integration_tests__switch__switch_no_hooks_skips_post_start.snap
index 496025900..84af1aab7 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_no_hooks_skips_post_start.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_no_hooks_skips_post_start.snap
@@ -16,6 +16,7 @@ info:
GIT_CONFIG_GLOBAL: "[TEST_GIT_CONFIG]"
GIT_CONFIG_SYSTEM: /dev/null
GIT_EDITOR: ""
+ GIT_TERMINAL_PROMPT: "0"
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
@@ -30,5 +31,5 @@ exit_code: 0
----- stdout -----
----- stderr -----
-βœ… Created new worktree for no-post-start from main @ [REPO].no-post-start
+βœ… Created new worktree for no-post-start from main @ [REPO].no-post-start
πŸ’‘ Run wt config shell install to enable automatic cd
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_no_hooks_with_force.snap b/tests/snapshots/integration__integration_tests__switch__switch_no_hooks_with_force.snap
index af0e88dd0..f521d5bb5 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_no_hooks_with_force.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_no_hooks_with_force.snap
@@ -17,6 +17,7 @@ info:
GIT_CONFIG_GLOBAL: "[TEST_GIT_CONFIG]"
GIT_CONFIG_SYSTEM: /dev/null
GIT_EDITOR: ""
+ GIT_TERMINAL_PROMPT: "0"
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
@@ -31,5 +32,5 @@ exit_code: 0
----- stdout -----
----- stderr -----
-βœ… Created new worktree for force-no-hooks from main @ [REPO].force-no-hooks
+βœ… Created new worktree for force-no-hooks from main @ [REPO].force-no-hooks
πŸ’‘ Run wt config shell install to enable automatic cd
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_no_warning_when_branch_matches.snap b/tests/snapshots/integration__integration_tests__switch__switch_no_warning_when_branch_matches.snap
index 48510a50e..3bb94a70a 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_no_warning_when_branch_matches.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_no_warning_when_branch_matches.snap
@@ -15,6 +15,7 @@ info:
GIT_CONFIG_GLOBAL: "[TEST_GIT_CONFIG]"
GIT_CONFIG_SYSTEM: /dev/null
GIT_EDITOR: ""
+ GIT_TERMINAL_PROMPT: "0"
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
@@ -30,4 +31,4 @@ exit_code: 0
cd '[REPO].feature'
----- stderr -----
-βœ… Switched to worktree for feature @ [REPO].feature
+βšͺ Switched to worktree for feature @ [REPO].feature
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_path_mismatch_shows_hint.snap b/tests/snapshots/integration__integration_tests__switch__switch_path_mismatch_shows_hint.snap
index f542fa926..bef721cd8 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_path_mismatch_shows_hint.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_path_mismatch_shows_hint.snap
@@ -31,5 +31,5 @@ exit_code: 0
cd '[PROJECT_ID]'
----- stderr -----
-βœ… Switched to worktree for feature @ [PROJECT_ID]
+βšͺ Switched to worktree for feature @ [PROJECT_ID]
🟑 Worktree path doesn't match branch name; expected [REPO].feature βš‘
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_primary_on_different_branch.snap b/tests/snapshots/integration__integration_tests__switch__switch_primary_on_different_branch.snap
index abac4a665..0ffeb9f3f 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_primary_on_different_branch.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_primary_on_different_branch.snap
@@ -15,6 +15,7 @@ info:
GIT_CONFIG_GLOBAL: "[TEST_GIT_CONFIG]"
GIT_CONFIG_SYSTEM: /dev/null
GIT_EDITOR: ""
+ GIT_TERMINAL_PROMPT: "0"
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
@@ -29,5 +30,5 @@ exit_code: 0
----- stdout -----
----- stderr -----
-βœ… Created new worktree for feature-from-main from main @ [REPO].feature-from-main
+βœ… Created new worktree for feature-from-main from main @ [REPO].feature-from-main
πŸ’‘ Run wt config shell install to enable automatic cd
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_stale_history_to_a.snap b/tests/snapshots/integration__integration_tests__switch__switch_stale_history_to_a.snap
index 85af5a3fe..c056ddf5c 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_stale_history_to_a.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_stale_history_to_a.snap
@@ -14,6 +14,7 @@ info:
GIT_CONFIG_GLOBAL: "[TEST_GIT_CONFIG]"
GIT_CONFIG_SYSTEM: /dev/null
GIT_EDITOR: ""
+ GIT_TERMINAL_PROMPT: "0"
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
@@ -28,5 +29,5 @@ exit_code: 0
----- stdout -----
----- stderr -----
-βœ… Switched to worktree for branch-a @ [REPO].branch-a
+βœ… Switched to worktree for branch-a @ [REPO].branch-a
πŸ’‘ Run wt config shell install to enable automatic cd
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_stale_history_to_b.snap b/tests/snapshots/integration__integration_tests__switch__switch_stale_history_to_b.snap
index 3a7f99a5d..f36cae102 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_stale_history_to_b.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_stale_history_to_b.snap
@@ -14,6 +14,7 @@ info:
GIT_CONFIG_GLOBAL: "[TEST_GIT_CONFIG]"
GIT_CONFIG_SYSTEM: /dev/null
GIT_EDITOR: ""
+ GIT_TERMINAL_PROMPT: "0"
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
@@ -28,5 +29,5 @@ exit_code: 0
----- stdout -----
----- stderr -----
-βœ… Switched to worktree for branch-b @ [REPO].branch-b
+βœ… Switched to worktree for branch-b @ [REPO].branch-b
πŸ’‘ Run wt config shell install to enable automatic cd
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_with_base.snap b/tests/snapshots/integration__integration_tests__switch__switch_with_base.snap
index 3f820ef3f..c75a00657 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_with_base.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_with_base.snap
@@ -17,6 +17,7 @@ info:
GIT_CONFIG_GLOBAL: "[TEST_GIT_CONFIG]"
GIT_CONFIG_SYSTEM: /dev/null
GIT_EDITOR: ""
+ GIT_TERMINAL_PROMPT: "0"
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
@@ -31,5 +32,5 @@ exit_code: 0
----- stdout -----
----- stderr -----
-βœ… Created new worktree for feature-with-base from main @ [REPO].feature-with-base
+βœ… Created new worktree for feature-with-base from main @ [REPO].feature-with-base
πŸ’‘ Run wt config shell install to enable automatic cd
diff --git a/tests/snapshots/integration__integration_tests__user_hooks__no_verify_skips_all_hooks.snap b/tests/snapshots/integration__integration_tests__user_hooks__no_verify_skips_all_hooks.snap
index 6f5bbbc39..dfb7f0e37 100644
--- a/tests/snapshots/integration__integration_tests__user_hooks__no_verify_skips_all_hooks.snap
+++ b/tests/snapshots/integration__integration_tests__user_hooks__no_verify_skips_all_hooks.snap
@@ -16,6 +16,7 @@ info:
GIT_CONFIG_GLOBAL: "[TEST_GIT_CONFIG]"
GIT_CONFIG_SYSTEM: /dev/null
GIT_EDITOR: ""
+ GIT_TERMINAL_PROMPT: "0"
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
@@ -30,5 +31,5 @@ exit_code: 0
----- stdout -----
----- stderr -----
-βœ… Created new worktree for feature from main @ [REPO].feature
+βœ… Created new worktree for feature from main @ [REPO].feature
πŸ’‘ Run wt config shell install to enable automatic cd
diff --git a/tests/snapshots/integration__integration_tests__user_hooks__user_and_project_post_start.snap b/tests/snapshots/integration__integration_tests__user_hooks__user_and_project_post_start.snap
index 09ee6151f..997d4a12f 100644
--- a/tests/snapshots/integration__integration_tests__user_hooks__user_and_project_post_start.snap
+++ b/tests/snapshots/integration__integration_tests__user_hooks__user_and_project_post_start.snap
@@ -15,6 +15,7 @@ info:
GIT_CONFIG_GLOBAL: "[TEST_GIT_CONFIG]"
GIT_CONFIG_SYSTEM: /dev/null
GIT_EDITOR: ""
+ GIT_TERMINAL_PROMPT: "0"
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
@@ -29,7 +30,7 @@ exit_code: 0
----- stdout -----
----- stderr -----
-βœ… Created new worktree for feature from main @ [REPO].feature
+βœ… Created new worktree for feature from main @ [REPO].feature
πŸ’‘ Run wt config shell install to enable automatic cd
πŸ”„ Running user post-start bg:
  echo 'USER_POST_START' > user_bg.txt
diff --git a/tests/snapshots/integration__integration_tests__user_hooks__user_hook_template_vars.snap b/tests/snapshots/integration__integration_tests__user_hooks__user_hook_template_vars.snap
index 412f09047..19826cdb3 100644
--- a/tests/snapshots/integration__integration_tests__user_hooks__user_hook_template_vars.snap
+++ b/tests/snapshots/integration__integration_tests__user_hooks__user_hook_template_vars.snap
@@ -15,6 +15,7 @@ info:
GIT_CONFIG_GLOBAL: "[TEST_GIT_CONFIG]"
GIT_CONFIG_SYSTEM: /dev/null
GIT_EDITOR: ""
+ GIT_TERMINAL_PROMPT: "0"
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
@@ -31,5 +32,5 @@ exit_code: 0
----- stderr -----
πŸ”„ Running user post-create vars:
  echo 'repo=repo branch=feature' > template_vars.txt
-βœ… Created new worktree for feature from main @ [REPO].feature
+βœ… Created new worktree for feature from main @ [REPO].feature
πŸ’‘ Run wt config shell install to enable automatic cd
diff --git a/tests/snapshots/integration__integration_tests__user_hooks__user_hooks_before_project.snap b/tests/snapshots/integration__integration_tests__user_hooks__user_hooks_before_project.snap
index f75dc1596..a3eb97d7b 100644
--- a/tests/snapshots/integration__integration_tests__user_hooks__user_hooks_before_project.snap
+++ b/tests/snapshots/integration__integration_tests__user_hooks__user_hooks_before_project.snap
@@ -15,6 +15,7 @@ info:
GIT_CONFIG_GLOBAL: "[TEST_GIT_CONFIG]"
GIT_CONFIG_SYSTEM: /dev/null
GIT_EDITOR: ""
+ GIT_TERMINAL_PROMPT: "0"
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
@@ -33,5 +34,5 @@ exit_code: 0
  echo 'USER_HOOK' >> hook_order.txt
πŸ”„ Running project post-create:
  echo 'PROJECT_HOOK' >> hook_order.txt
-βœ… Created new worktree for feature from main @ [REPO].feature
+βœ… Created new worktree for feature from main @ [REPO].feature
πŸ’‘ Run wt config shell install to enable automatic cd
diff --git a/tests/snapshots/integration__integration_tests__user_hooks__user_hooks_no_approval.snap b/tests/snapshots/integration__integration_tests__user_hooks__user_hooks_no_approval.snap
index 4e309fc29..4843366e8 100644
--- a/tests/snapshots/integration__integration_tests__user_hooks__user_hooks_no_approval.snap
+++ b/tests/snapshots/integration__integration_tests__user_hooks__user_hooks_no_approval.snap
@@ -15,6 +15,7 @@ info:
GIT_CONFIG_GLOBAL: "[TEST_GIT_CONFIG]"
GIT_CONFIG_SYSTEM: /dev/null
GIT_EDITOR: ""
+ GIT_TERMINAL_PROMPT: "0"
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
@@ -31,5 +32,5 @@ exit_code: 0
----- stderr -----
πŸ”„ Running user post-create setup:
  echo 'NO_APPROVAL_NEEDED' > no_approval.txt
-βœ… Created new worktree for feature from main @ [REPO].feature
+βœ… Created new worktree for feature from main @ [REPO].feature
πŸ’‘ Run wt config shell install to enable automatic cd
diff --git a/tests/snapshots/integration__integration_tests__user_hooks__user_post_create_executes.snap b/tests/snapshots/integration__integration_tests__user_hooks__user_post_create_executes.snap
index fb264ae61..cf4ea9800 100644
--- a/tests/snapshots/integration__integration_tests__user_hooks__user_post_create_executes.snap
+++ b/tests/snapshots/integration__integration_tests__user_hooks__user_post_create_executes.snap
@@ -15,6 +15,7 @@ info:
GIT_CONFIG_GLOBAL: "[TEST_GIT_CONFIG]"
GIT_CONFIG_SYSTEM: /dev/null
GIT_EDITOR: ""
+ GIT_TERMINAL_PROMPT: "0"
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
@@ -31,5 +32,5 @@ exit_code: 0
----- stderr -----
πŸ”„ Running user post-create log:
  echo 'USER_POST_CREATE_RAN' > user_hook_marker.txt
-βœ… Created new worktree for feature from main @ [REPO].feature
+βœ… Created new worktree for feature from main @ [REPO].feature
πŸ’‘ Run wt config shell install to enable automatic cd
diff --git a/tests/snapshots/integration__integration_tests__user_hooks__user_post_create_failure.snap b/tests/snapshots/integration__integration_tests__user_hooks__user_post_create_failure.snap
index 009786723..d5ee7ab0c 100644
--- a/tests/snapshots/integration__integration_tests__user_hooks__user_post_create_failure.snap
+++ b/tests/snapshots/integration__integration_tests__user_hooks__user_post_create_failure.snap
@@ -15,6 +15,7 @@ info:
GIT_CONFIG_GLOBAL: "[TEST_GIT_CONFIG]"
GIT_CONFIG_SYSTEM: /dev/null
GIT_EDITOR: ""
+ GIT_TERMINAL_PROMPT: "0"
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
@@ -32,5 +33,5 @@ exit_code: 0
πŸ”„ Running user post-create failing:
  exit 1
🟑 Command failing failed: exit status: 1
-βœ… Created new worktree for feature from main @ [REPO].feature
+βœ… Created new worktree for feature from main @ [REPO].feature
πŸ’‘ Run wt config shell install to enable automatic cd
diff --git a/tests/snapshots/integration__integration_tests__user_hooks__user_post_start_executes.snap b/tests/snapshots/integration__integration_tests__user_hooks__user_post_start_executes.snap
index b189306f7..6b3f1f47c 100644
--- a/tests/snapshots/integration__integration_tests__user_hooks__user_post_start_executes.snap
+++ b/tests/snapshots/integration__integration_tests__user_hooks__user_post_start_executes.snap
@@ -15,6 +15,7 @@ info:
GIT_CONFIG_GLOBAL: "[TEST_GIT_CONFIG]"
GIT_CONFIG_SYSTEM: /dev/null
GIT_EDITOR: ""
+ GIT_TERMINAL_PROMPT: "0"
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
@@ -29,7 +30,7 @@ exit_code: 0
----- stdout -----
----- stderr -----
-βœ… Created new worktree for feature from main @ [REPO].feature
+βœ… Created new worktree for feature from main @ [REPO].feature
πŸ’‘ Run wt config shell install to enable automatic cd
πŸ”„ Running user post-start bg:
  echo 'USER_POST_START_RAN' > user_bg_marker.txt
diff --git a/tests/snapshots/integration__integration_tests__user_hooks__user_post_start_skipped_no_verify.snap b/tests/snapshots/integration__integration_tests__user_hooks__user_post_start_skipped_no_verify.snap
index 6f5bbbc39..dfb7f0e37 100644
--- a/tests/snapshots/integration__integration_tests__user_hooks__user_post_start_skipped_no_verify.snap
+++ b/tests/snapshots/integration__integration_tests__user_hooks__user_post_start_skipped_no_verify.snap
@@ -16,6 +16,7 @@ info:
GIT_CONFIG_GLOBAL: "[TEST_GIT_CONFIG]"
GIT_CONFIG_SYSTEM: /dev/null
GIT_EDITOR: ""
+ GIT_TERMINAL_PROMPT: "0"
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
@@ -30,5 +31,5 @@ exit_code: 0
----- stdout -----
----- stderr -----
-βœ… Created new worktree for feature from main @ [REPO].feature
+βœ… Created new worktree for feature from main @ [REPO].feature
πŸ’‘ Run wt config shell install to enable automatic cd