Skip to content

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

Refactor: Improve output messages for worktree operations

Maximilian Roos9d5669d0df6a
diff --git a/src/commands/process.rs b/src/commands/process.rs
index 1cec3a52f..2ec0423fb 100644
--- a/src/commands/process.rs
+++ b/src/commands/process.rs
@@ -43,9 +43,8 @@ pub fn spawn_detached(
fs::create_dir_all(&log_dir)
.map_err(|e| GitError::CommandFailed(format!("Failed to create log directory: {}", e)))?;
- // Generate log filename with timestamp
- let timestamp = chrono::Local::now().format("%Y%m%d-%H%M%S");
- let log_path = log_dir.join(format!("post-start-{}-{}.log", name, timestamp));
+ // Generate log filename (no timestamp - overwrites on each run)
+ let log_path = log_dir.join(format!("post-start-{}.log", name));
// Create log file
let log_file = fs::File::create(&log_path)
diff --git a/src/commands/worktree.rs b/src/commands/worktree.rs
index 1a242a082..827ac4960 100644
--- a/src/commands/worktree.rs
+++ b/src/commands/worktree.rs
@@ -516,15 +516,9 @@ fn spawn_post_start_commands(
let _ = std::io::stderr().flush();
match spawn_detached(worktree_path, &prepared.expanded, &prepared.name) {
- Ok(log_path) => {
- let dim = AnstyleStyle::new().dimmed();
- // Show relative path from worktree/.git/wt-logs/
- let display_path = if let Some(filename) = log_path.file_name() {
- format!(".git/wt-logs/{}", filename.to_string_lossy())
- } else {
- log_path.display().to_string()
- };
- eprintln!("{dim}Logs: {}{dim:#}", display_path);
+ Ok(_log_path) => {
+ // Background command spawned successfully
+ // Log file path not shown - only needed for debugging failures
}
Err(e) => {
eprintln!(
diff --git a/src/output/handlers.rs b/src/output/handlers.rs
index 23e369670..f43b5b7ba 100644
--- a/src/output/handlers.rs
+++ b/src/output/handlers.rs
@@ -9,22 +9,24 @@ fn format_switch_message_plain(result: &SwitchResult, branch: &str) -> String {
let bold = AnstyleStyle::new().bold();
match result {
- SwitchResult::ExistingWorktree(_) => {
- format!("Switched to worktree for {bold}{branch}{bold:#}")
+ SwitchResult::ExistingWorktree(path) => {
+ format!(
+ "Switched to worktree for {bold}{branch}{bold:#} at {}",
+ path.display()
+ )
}
SwitchResult::CreatedWorktree {
path,
created_branch,
} => {
- let dim = AnstyleStyle::new().dimmed();
if *created_branch {
format!(
- "Created new worktree for {bold}{branch}{bold:#}\n{dim}Path: {}{dim:#}",
+ "Created new worktree for {bold}{branch}{bold:#} at {}",
path.display()
)
} else {
format!(
- "Added worktree for {bold}{branch}{bold:#}\n{dim}Path: {}{dim:#}",
+ "Added worktree for {bold}{branch}{bold:#} at {}",
path.display()
)
}
@@ -35,7 +37,6 @@ fn format_switch_message_plain(result: &SwitchResult, branch: &str) -> String {
/// Format plain message for remove operation (no emoji - added by OutputContext)
fn format_remove_message_plain(result: &RemoveResult) -> String {
let bold = AnstyleStyle::new().bold();
- let dim = AnstyleStyle::new().dimmed();
match result {
RemoveResult::AlreadyOnDefault(branch) => {
@@ -43,7 +44,7 @@ fn format_remove_message_plain(result: &RemoveResult) -> String {
}
RemoveResult::RemovedWorktree { primary_path } => {
format!(
- "Removed worktree, returned to primary\n{dim}Path: {}{dim:#}",
+ "Removed worktree, returned to primary at {}",
primary_path.display()
)
}
diff --git a/tests/snapshots/integration__integration_tests__merge__merge_auto_commit_and_squash.snap b/tests/snapshots/integration__integration_tests__merge__merge_auto_commit_and_squash.snap
index 7f04291e5..5778cc8aa 100644
--- a/tests/snapshots/integration__integration_tests__merge__merge_auto_commit_and_squash.snap
+++ b/tests/snapshots/integration__integration_tests__merge__merge_auto_commit_and_squash.snap
@@ -1,5 +1,6 @@
---
source: tests/integration_tests/merge.rs
+assertion_line: 29
info:
program: wt
args:
@@ -37,8 +38,7 @@ exit_code: 0
βœ… Pushed to main (1 commit, 2 files, +2) 
πŸ”„ Cleaning up worktree...
-βœ… Removed worktree, returned to primary
-Path: [REPO]
+βœ… Removed worktree, returned to primary at [REPO]
βœ… Merge complete
diff --git a/tests/snapshots/integration__integration_tests__merge__merge_auto_commit_deterministic.snap b/tests/snapshots/integration__integration_tests__merge__merge_auto_commit_deterministic.snap
index 3cb3f19d4..25d769f5f 100644
--- a/tests/snapshots/integration__integration_tests__merge__merge_auto_commit_deterministic.snap
+++ b/tests/snapshots/integration__integration_tests__merge__merge_auto_commit_deterministic.snap
@@ -1,5 +1,6 @@
---
source: tests/integration_tests/merge.rs
+assertion_line: 11
info:
program: wt
args:
@@ -32,8 +33,7 @@ exit_code: 0
βœ… Pushed to main (2 commits, 1 file, +1) 
πŸ”„ Cleaning up worktree...
-βœ… Removed worktree, returned to primary
-Path: [REPO]
+βœ… Removed worktree, returned to primary at [REPO]
βœ… Merge complete
diff --git a/tests/snapshots/integration__integration_tests__merge__merge_auto_commit_with_llm.snap b/tests/snapshots/integration__integration_tests__merge__merge_auto_commit_with_llm.snap
index 04b284c0a..473229f4f 100644
--- a/tests/snapshots/integration__integration_tests__merge__merge_auto_commit_with_llm.snap
+++ b/tests/snapshots/integration__integration_tests__merge__merge_auto_commit_with_llm.snap
@@ -1,5 +1,6 @@
---
source: tests/integration_tests/merge.rs
+assertion_line: 29
info:
program: wt
args:
@@ -34,8 +35,7 @@ exit_code: 0
βœ… Pushed to main (2 commits, 1 file, +1) 
πŸ”„ Cleaning up worktree...
-βœ… Removed worktree, returned to primary
-Path: [REPO]
+βœ… Removed worktree, returned to primary at [REPO]
βœ… Merge complete
diff --git a/tests/snapshots/integration__integration_tests__merge__merge_auto_commit_with_message.snap b/tests/snapshots/integration__integration_tests__merge__merge_auto_commit_with_message.snap
index c345dfb40..dd54e895b 100644
--- a/tests/snapshots/integration__integration_tests__merge__merge_auto_commit_with_message.snap
+++ b/tests/snapshots/integration__integration_tests__merge__merge_auto_commit_with_message.snap
@@ -1,5 +1,6 @@
---
source: tests/integration_tests/merge.rs
+assertion_line: 29
info:
program: wt
args:
@@ -36,8 +37,7 @@ exit_code: 0
βœ… Pushed to main (2 commits, 1 file, +1) 
πŸ”„ Cleaning up worktree...
-βœ… Removed worktree, returned to primary
-Path: [REPO]
+βœ… Removed worktree, returned to primary at [REPO]
βœ… Merge complete
diff --git a/tests/snapshots/integration__integration_tests__merge__merge_fast_forward.snap b/tests/snapshots/integration__integration_tests__merge__merge_fast_forward.snap
index 1254935fb..a911cc632 100644
--- a/tests/snapshots/integration__integration_tests__merge__merge_fast_forward.snap
+++ b/tests/snapshots/integration__integration_tests__merge__merge_fast_forward.snap
@@ -1,5 +1,6 @@
---
source: tests/integration_tests/merge.rs
+assertion_line: 11
info:
program: wt
args:
@@ -29,8 +30,7 @@ exit_code: 0
βœ… Pushed to main (1 commit, 1 file, +1) 
πŸ”„ Cleaning up worktree...
-βœ… Removed worktree, returned to primary
-Path: [REPO]
+βœ… Removed worktree, returned to primary at [REPO]
βœ… Merge complete
diff --git a/tests/snapshots/integration__integration_tests__merge__merge_not_fast_forward.snap b/tests/snapshots/integration__integration_tests__merge__merge_not_fast_forward.snap
index 11da28141..23a789ac4 100644
--- a/tests/snapshots/integration__integration_tests__merge__merge_not_fast_forward.snap
+++ b/tests/snapshots/integration__integration_tests__merge__merge_not_fast_forward.snap
@@ -1,5 +1,6 @@
---
source: tests/integration_tests/merge.rs
+assertion_line: 11
info:
program: wt
args:
@@ -29,8 +30,7 @@ exit_code: 0
βœ… Pushed to main (1 commit, 1 file, +1) 
πŸ”„ Cleaning up worktree...
-βœ… Removed worktree, returned to primary
-Path: [REPO]
+βœ… Removed worktree, returned to primary at [REPO]
βœ… Merge complete
diff --git a/tests/snapshots/integration__integration_tests__merge__merge_pre_merge_check_named.snap b/tests/snapshots/integration__integration_tests__merge__merge_pre_merge_check_named.snap
index 5c3470645..3d625b92f 100644
--- a/tests/snapshots/integration__integration_tests__merge__merge_pre_merge_check_named.snap
+++ b/tests/snapshots/integration__integration_tests__merge__merge_pre_merge_check_named.snap
@@ -1,5 +1,6 @@
---
source: tests/integration_tests/merge.rs
+assertion_line: 11
info:
program: wt
args:
@@ -33,8 +34,7 @@ exit_code: 0
βœ… Pushed to main (1 commit, 1 file, +1) 
πŸ”„ Cleaning up worktree...
-βœ… Removed worktree, returned to primary
-Path: [REPO]
+βœ… Removed worktree, returned to primary at [REPO]
βœ… Merge complete
diff --git a/tests/snapshots/integration__integration_tests__merge__merge_pre_merge_check_no_verify.snap b/tests/snapshots/integration__integration_tests__merge__merge_pre_merge_check_no_verify.snap
index 106dc5f2a..39842d202 100644
--- a/tests/snapshots/integration__integration_tests__merge__merge_pre_merge_check_no_verify.snap
+++ b/tests/snapshots/integration__integration_tests__merge__merge_pre_merge_check_no_verify.snap
@@ -1,5 +1,6 @@
---
source: tests/integration_tests/merge.rs
+assertion_line: 11
info:
program: wt
args:
@@ -30,8 +31,7 @@ exit_code: 0
βœ… Pushed to main (1 commit, 1 file, +1) 
πŸ”„ Cleaning up worktree...
-βœ… Removed worktree, returned to primary
-Path: [REPO]
+βœ… Removed worktree, returned to primary at [REPO]
βœ… Merge complete
diff --git a/tests/snapshots/integration__integration_tests__merge__merge_pre_merge_check_success.snap b/tests/snapshots/integration__integration_tests__merge__merge_pre_merge_check_success.snap
index 941916a4c..b60128191 100644
--- a/tests/snapshots/integration__integration_tests__merge__merge_pre_merge_check_success.snap
+++ b/tests/snapshots/integration__integration_tests__merge__merge_pre_merge_check_success.snap
@@ -1,5 +1,6 @@
---
source: tests/integration_tests/merge.rs
+assertion_line: 11
info:
program: wt
args:
@@ -31,8 +32,7 @@ exit_code: 0
βœ… Pushed to main (1 commit, 1 file, +1) 
πŸ”„ Cleaning up worktree...
-βœ… Removed worktree, returned to primary
-Path: [REPO]
+βœ… Removed worktree, returned to primary at [REPO]
βœ… Merge complete
diff --git a/tests/snapshots/integration__integration_tests__merge__merge_squash_deterministic.snap b/tests/snapshots/integration__integration_tests__merge__merge_squash_deterministic.snap
index e7df543ab..67a82d595 100644
--- a/tests/snapshots/integration__integration_tests__merge__merge_squash_deterministic.snap
+++ b/tests/snapshots/integration__integration_tests__merge__merge_squash_deterministic.snap
@@ -1,5 +1,6 @@
---
source: tests/integration_tests/merge.rs
+assertion_line: 11
info:
program: wt
args:
@@ -34,8 +35,7 @@ exit_code: 0
βœ… Pushed to main (1 commit, 3 files, +3) 
πŸ”„ Cleaning up worktree...
-βœ… Removed worktree, returned to primary
-Path: [REPO]
+βœ… Removed worktree, returned to primary at [REPO]
βœ… Merge complete
diff --git a/tests/snapshots/integration__integration_tests__merge__merge_squash_llm_fallback.snap b/tests/snapshots/integration__integration_tests__merge__merge_squash_llm_fallback.snap
index 00d564696..9eccbc98d 100644
--- a/tests/snapshots/integration__integration_tests__merge__merge_squash_llm_fallback.snap
+++ b/tests/snapshots/integration__integration_tests__merge__merge_squash_llm_fallback.snap
@@ -1,5 +1,6 @@
---
source: tests/integration_tests/merge.rs
+assertion_line: 29
info:
program: wt
args:
@@ -34,8 +35,7 @@ exit_code: 0
βœ… Pushed to main (1 commit, 2 files, +2) 
πŸ”„ Cleaning up worktree...
-βœ… Removed worktree, returned to primary
-Path: [REPO]
+βœ… Removed worktree, returned to primary at [REPO]
βœ… Merge complete
diff --git a/tests/snapshots/integration__integration_tests__merge__merge_squash_single_commit.snap b/tests/snapshots/integration__integration_tests__merge__merge_squash_single_commit.snap
index cb76e67c4..d066c628c 100644
--- a/tests/snapshots/integration__integration_tests__merge__merge_squash_single_commit.snap
+++ b/tests/snapshots/integration__integration_tests__merge__merge_squash_single_commit.snap
@@ -1,5 +1,6 @@
---
source: tests/integration_tests/merge.rs
+assertion_line: 11
info:
program: wt
args:
@@ -31,8 +32,7 @@ exit_code: 0
βœ… Pushed to main (1 commit, 1 file, +1) 
πŸ”„ Cleaning up worktree...
-βœ… Removed worktree, returned to primary
-Path: [REPO]
+βœ… Removed worktree, returned to primary at [REPO]
βœ… Merge complete
diff --git a/tests/snapshots/integration__integration_tests__merge__merge_squash_with_llm.snap b/tests/snapshots/integration__integration_tests__merge__merge_squash_with_llm.snap
index 9db67bb46..c0a584c2a 100644
--- a/tests/snapshots/integration__integration_tests__merge__merge_squash_with_llm.snap
+++ b/tests/snapshots/integration__integration_tests__merge__merge_squash_with_llm.snap
@@ -1,5 +1,6 @@
---
source: tests/integration_tests/merge.rs
+assertion_line: 29
info:
program: wt
args:
@@ -35,8 +36,7 @@ exit_code: 0
βœ… Pushed to main (1 commit, 1 file, +1) 
πŸ”„ Cleaning up worktree...
-βœ… Removed worktree, returned to primary
-Path: [REPO]
+βœ… Removed worktree, returned to primary at [REPO]
βœ… Merge complete
diff --git a/tests/snapshots/integration__integration_tests__merge__merge_to_default.snap b/tests/snapshots/integration__integration_tests__merge__merge_to_default.snap
index e83c32230..151c2d629 100644
--- a/tests/snapshots/integration__integration_tests__merge__merge_to_default.snap
+++ b/tests/snapshots/integration__integration_tests__merge__merge_to_default.snap
@@ -1,5 +1,6 @@
---
source: tests/integration_tests/merge.rs
+assertion_line: 11
info:
program: wt
args:
@@ -28,8 +29,7 @@ exit_code: 0
βœ… Pushed to main (1 commit, 1 file, +1) 
πŸ”„ Cleaning up worktree...
-βœ… Removed worktree, returned to primary
-Path: [REPO]
+βœ… Removed worktree, returned to primary at [REPO]
βœ… Merge complete
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 d4b693051..f1735be10 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
@@ -1,5 +1,6 @@
---
source: tests/integration_tests/post_start_commands.rs
+assertion_line: 30
info:
program: wt
args:
@@ -13,7 +14,7 @@ info:
GIT_CONFIG_GLOBAL: /dev/null
GIT_CONFIG_SYSTEM: /dev/null
GIT_EDITOR: ""
- HOME: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpamoDB5
+ HOME: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmp8tDyI8
LANG: C
LC_ALL: C
SOURCE_DATE_EPOCH: "1704067200"
@@ -21,8 +22,7 @@ info:
success: true
exit_code: 0
----- stdout -----
-βœ… Created new worktree for feature
-Path: [REPO].feature
+βœ… Created new worktree for feature at [REPO].feature
To enable automatic cd, run: wt configure-shell
@@ -31,4 +31,3 @@ To enable automatic cd, run: wt configure-shell
  echo 'Setup done' > setup.txt
πŸ”„ Starting (background):
  sleep 0.5 && echo 'Server running' > server.txt
-Logs: .git/wt-logs/post-start-[NAME]-[TIMESTAMP].log
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 c04fa1a43..8e490667d 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
@@ -1,5 +1,6 @@
---
source: tests/integration_tests/post_start_commands.rs
+assertion_line: 30
info:
program: wt
args:
@@ -15,7 +16,7 @@ info:
GIT_CONFIG_GLOBAL: /dev/null
GIT_CONFIG_SYSTEM: /dev/null
GIT_EDITOR: ""
- HOME: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpt4Fzsa
+ HOME: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpqHAOk6
LANG: C
LC_ALL: C
SOURCE_DATE_EPOCH: "1704067200"
@@ -23,10 +24,8 @@ info:
success: true
exit_code: 0
----- stdout -----
-βœ… Created new worktree for feature
-Path: [REPO].feature
+βœ… Created new worktree for feature at [REPO].feature
----- stderr -----
πŸ”„ Starting (background):
  echo 'Background task' > background.txt
-Logs: .git/wt-logs/post-start-[NAME]-[TIMESTAMP].log
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 e21166158..765633c33 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
@@ -1,5 +1,6 @@
---
source: tests/integration_tests/post_start_commands.rs
+assertion_line: 30
info:
program: wt
args:
@@ -13,7 +14,7 @@ info:
GIT_CONFIG_GLOBAL: /dev/null
GIT_CONFIG_SYSTEM: /dev/null
GIT_EDITOR: ""
- HOME: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpfjVvpP
+ HOME: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpWGuFwt
LANG: C
LC_ALL: C
SOURCE_DATE_EPOCH: "1704067200"
@@ -21,8 +22,7 @@ info:
success: true
exit_code: 0
----- stdout -----
-βœ… Created new worktree for feature
-Path: [REPO].feature
+βœ… Created new worktree for feature at [REPO].feature
To enable automatic cd, run: wt configure-shell
diff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_create_multiple_commands_array.snap b/tests/snapshots/integration__integration_tests__post_start_commands__post_create_multiple_commands_array.snap
index 3e2f0f78e..fe275cc0f 100644
--- a/tests/snapshots/integration__integration_tests__post_start_commands__post_create_multiple_commands_array.snap
+++ b/tests/snapshots/integration__integration_tests__post_start_commands__post_create_multiple_commands_array.snap
@@ -1,5 +1,6 @@
---
source: tests/integration_tests/post_start_commands.rs
+assertion_line: 30
info:
program: wt
args:
@@ -13,7 +14,7 @@ info:
GIT_CONFIG_GLOBAL: /dev/null
GIT_CONFIG_SYSTEM: /dev/null
GIT_EDITOR: ""
- HOME: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmp4ag1sC
+ HOME: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpltisj5
LANG: C
LC_ALL: C
SOURCE_DATE_EPOCH: "1704067200"
@@ -23,8 +24,7 @@ exit_code: 0
----- stdout -----
First
Second
-βœ… Created new worktree for feature
-Path: [REPO].feature
+βœ… Created new worktree for feature at [REPO].feature
To enable automatic cd, run: wt configure-shell
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 2f19beb16..224f456a1 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
@@ -1,5 +1,6 @@
---
source: tests/integration_tests/post_start_commands.rs
+assertion_line: 30
info:
program: wt
args:
@@ -13,7 +14,7 @@ info:
GIT_CONFIG_GLOBAL: /dev/null
GIT_CONFIG_SYSTEM: /dev/null
GIT_EDITOR: ""
- HOME: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpF0yY0r
+ HOME: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpE0MjVa
LANG: C
LC_ALL: C
SOURCE_DATE_EPOCH: "1704067200"
@@ -23,8 +24,7 @@ exit_code: 0
----- stdout -----
Installing deps
Running setup
-βœ… Created new worktree for feature
-Path: [REPO].feature
+βœ… Created new worktree for feature at [REPO].feature
To enable automatic cd, run: wt configure-shell
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 00a244cc3..d8690b5ba 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
@@ -1,5 +1,6 @@
---
source: tests/integration_tests/post_start_commands.rs
+assertion_line: 30
info:
program: wt
args:
@@ -20,8 +21,7 @@ info:
success: true
exit_code: 0
----- stdout -----
-βœ… Created new worktree for feature
-Path: [REPO].feature
+βœ… Created new worktree for feature at [REPO].feature
To enable automatic cd, run: wt configure-shell
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 3fe0b2525..22a0ca15e 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
@@ -1,5 +1,6 @@
---
source: tests/integration_tests/post_start_commands.rs
+assertion_line: 30
info:
program: wt
args:
@@ -13,7 +14,7 @@ info:
GIT_CONFIG_GLOBAL: /dev/null
GIT_CONFIG_SYSTEM: /dev/null
GIT_EDITOR: ""
- HOME: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpH5dPml
+ HOME: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpENFuHE
LANG: C
LC_ALL: C
SOURCE_DATE_EPOCH: "1704067200"
@@ -22,8 +23,7 @@ success: true
exit_code: 0
----- stdout -----
Setup complete
-βœ… Created new worktree for feature
-Path: [REPO].feature
+βœ… Created new worktree for feature at [REPO].feature
To enable automatic cd, run: wt configure-shell
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 b854f6219..71648bb4c 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
@@ -1,5 +1,6 @@
---
source: tests/integration_tests/post_start_commands.rs
+assertion_line: 30
info:
program: wt
args:
@@ -13,7 +14,7 @@ info:
GIT_CONFIG_GLOBAL: /dev/null
GIT_CONFIG_SYSTEM: /dev/null
GIT_EDITOR: ""
- HOME: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpktoojo
+ HOME: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpvq8LHj
LANG: C
LC_ALL: C
SOURCE_DATE_EPOCH: "1704067200"
@@ -21,8 +22,7 @@ info:
success: true
exit_code: 0
----- stdout -----
-βœ… Created new worktree for feature/test
-Path: [REPO].feature-test
+βœ… Created new worktree for feature/test at [REPO].feature-test
To enable automatic cd, run: wt configure-shell
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 b795c8f8e..1d3664fe1 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
@@ -1,5 +1,6 @@
---
source: tests/integration_tests/post_start_commands.rs
+assertion_line: 30
info:
program: wt
args:
@@ -13,7 +14,7 @@ info:
GIT_CONFIG_GLOBAL: /dev/null
GIT_CONFIG_SYSTEM: /dev/null
GIT_EDITOR: ""
- HOME: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpAfBPrg
+ HOME: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpzGxvU4
LANG: C
LC_ALL: C
SOURCE_DATE_EPOCH: "1704067200"
@@ -21,8 +22,7 @@ info:
success: true
exit_code: 0
----- stdout -----
-βœ… Created new worktree for feature
-Path: [REPO].feature
+βœ… Created new worktree for feature at [REPO].feature
To enable automatic cd, run: wt configure-shell
@@ -31,4 +31,3 @@ To enable automatic cd, run: wt configure-shell
  echo 'line1
  line2
  line3' | grep line2 > filtered.txt
-Logs: .git/wt-logs/post-start-[NAME]-[TIMESTAMP].log
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 0b277525d..c0021d3f2 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
@@ -1,5 +1,6 @@
---
source: tests/integration_tests/post_start_commands.rs
+assertion_line: 30
info:
program: wt
args:
@@ -13,7 +14,7 @@ info:
GIT_CONFIG_GLOBAL: /dev/null
GIT_CONFIG_SYSTEM: /dev/null
GIT_EDITOR: ""
- HOME: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpxpAeSj
+ HOME: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpZoNi3H
LANG: C
LC_ALL: C
SOURCE_DATE_EPOCH: "1704067200"
@@ -21,12 +22,10 @@ info:
success: true
exit_code: 0
----- stdout -----
-βœ… Created new worktree for feature
-Path: [REPO].feature
+βœ… Created new worktree for feature at [REPO].feature
To enable automatic cd, run: wt configure-shell
----- stderr -----
πŸ”„ Starting (background):
  echo 'unclosed quote
-Logs: .git/wt-logs/post-start-[NAME]-[TIMESTAMP].log
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 d84c0010c..01f475c0f 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
@@ -1,5 +1,6 @@
---
source: tests/integration_tests/post_start_commands.rs
+assertion_line: 30
info:
program: wt
args:
@@ -13,7 +14,7 @@ info:
GIT_CONFIG_GLOBAL: /dev/null
GIT_CONFIG_SYSTEM: /dev/null
GIT_EDITOR: ""
- HOME: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpbMm4SI
+ HOME: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpAfmwJa
LANG: C
LC_ALL: C
SOURCE_DATE_EPOCH: "1704067200"
@@ -21,12 +22,10 @@ info:
success: true
exit_code: 0
----- stdout -----
-βœ… Created new worktree for feature
-Path: [REPO].feature
+βœ… Created new worktree for feature at [REPO].feature
To enable automatic cd, run: wt configure-shell
----- stderr -----
πŸ”„ Starting (background):
  echo 'stdout output' && echo 'stderr output' >&2
-Logs: .git/wt-logs/post-start-[NAME]-[TIMESTAMP].log
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 aad071171..946733366 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
@@ -1,5 +1,6 @@
---
source: tests/integration_tests/post_start_commands.rs
+assertion_line: 30
info:
program: wt
args:
@@ -13,7 +14,7 @@ info:
GIT_CONFIG_GLOBAL: /dev/null
GIT_CONFIG_SYSTEM: /dev/null
GIT_EDITOR: ""
- HOME: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpwVXJeM
+ HOME: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpSI4a52
LANG: C
LC_ALL: C
SOURCE_DATE_EPOCH: "1704067200"
@@ -21,15 +22,12 @@ info:
success: true
exit_code: 0
----- stdout -----
-βœ… Created new worktree for feature
-Path: [REPO].feature
+βœ… Created new worktree for feature at [REPO].feature
To enable automatic cd, run: wt configure-shell
----- stderr -----
πŸ”„ Starting (background):
  echo 'Task 1 running' > task1.txt
-Logs: .git/wt-logs/post-start-[NAME]-[TIMESTAMP].log
πŸ”„ Starting (background):
  echo 'Task 2 running' > task2.txt
-Logs: .git/wt-logs/post-start-[NAME]-[TIMESTAMP].log
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 d3e8b4a3a..959fe4439 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
@@ -1,5 +1,6 @@
---
source: tests/integration_tests/post_start_commands.rs
+assertion_line: 30
info:
program: wt
args:
@@ -13,7 +14,7 @@ info:
GIT_CONFIG_GLOBAL: /dev/null
GIT_CONFIG_SYSTEM: /dev/null
GIT_EDITOR: ""
- HOME: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpnn4L3Y
+ HOME: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpOxJMj7
LANG: C
LC_ALL: C
SOURCE_DATE_EPOCH: "1704067200"
@@ -21,18 +22,14 @@ info:
success: true
exit_code: 0
----- stdout -----
-βœ… Created new worktree for feature
-Path: [REPO].feature
+βœ… Created new worktree for feature at [REPO].feature
To enable automatic cd, run: wt configure-shell
----- stderr -----
πŸ”„ Starting (background):
  echo 'TASK1_OUTPUT'
-Logs: .git/wt-logs/post-start-[NAME]-[TIMESTAMP].log
πŸ”„ Starting (background):
  echo 'TASK2_OUTPUT'
-Logs: .git/wt-logs/post-start-[NAME]-[TIMESTAMP].log
πŸ”„ Starting (background):
  echo 'TASK3_OUTPUT'
-Logs: .git/wt-logs/post-start-[NAME]-[TIMESTAMP].log
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 65d1ac96e..c96756288 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
@@ -1,5 +1,6 @@
---
source: tests/integration_tests/post_start_commands.rs
+assertion_line: 30
info:
program: wt
args:
@@ -13,7 +14,7 @@ info:
GIT_CONFIG_GLOBAL: /dev/null
GIT_CONFIG_SYSTEM: /dev/null
GIT_EDITOR: ""
- HOME: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpm03kPj
+ HOME: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpLjTodn
LANG: C
LC_ALL: C
SOURCE_DATE_EPOCH: "1704067200"
@@ -21,12 +22,10 @@ info:
success: true
exit_code: 0
----- stdout -----
-βœ… Created new worktree for feature
-Path: [REPO].feature
+βœ… Created new worktree for feature at [REPO].feature
To enable automatic cd, run: wt configure-shell
----- stderr -----
πŸ”„ Starting (background):
  sleep 1 && echo 'Background task done' > background.txt
-Logs: .git/wt-logs/post-start-[NAME]-[TIMESTAMP].log
diff --git a/tests/snapshots/integration__integration_tests__remove__remove_current_by_name.snap b/tests/snapshots/integration__integration_tests__remove__remove_current_by_name.snap
index 3c9360b55..261dda186 100644
--- a/tests/snapshots/integration__integration_tests__remove__remove_current_by_name.snap
+++ b/tests/snapshots/integration__integration_tests__remove__remove_current_by_name.snap
@@ -1,5 +1,6 @@
---
source: tests/integration_tests/remove.rs
+assertion_line: 10
info:
program: wt
args:
@@ -19,7 +20,6 @@ info:
success: true
exit_code: 0
----- stdout -----
-βœ… Removed worktree, returned to primary
-Path: [REPO]
+βœ… Removed worktree, returned to primary at [REPO]
----- stderr -----
diff --git a/tests/snapshots/integration__integration_tests__remove__remove_from_worktree.snap b/tests/snapshots/integration__integration_tests__remove__remove_from_worktree.snap
index a87667647..8f9c958e5 100644
--- a/tests/snapshots/integration__integration_tests__remove__remove_from_worktree.snap
+++ b/tests/snapshots/integration__integration_tests__remove__remove_from_worktree.snap
@@ -1,5 +1,6 @@
---
source: tests/integration_tests/remove.rs
+assertion_line: 10
info:
program: wt
args:
@@ -18,7 +19,6 @@ info:
success: true
exit_code: 0
----- stdout -----
-βœ… Removed worktree, returned to primary
-Path: [REPO]
+βœ… Removed worktree, returned to primary at [REPO]
----- stderr -----
diff --git a/tests/snapshots/integration__integration_tests__remove__remove_internal_mode.snap b/tests/snapshots/integration__integration_tests__remove__remove_internal_mode.snap
index fd01a0e4f..a5923067b 100644
Binary files a/tests/snapshots/integration__integration_tests__remove__remove_internal_mode.snap and b/tests/snapshots/integration__integration_tests__remove__remove_internal_mode.snap differ
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_base_without_create.snap b/tests/snapshots/integration__integration_tests__switch__switch_base_without_create.snap
index 8c3dbd906..ff21ab8c2 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_base_without_create.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_base_without_create.snap
@@ -1,5 +1,6 @@
---
source: tests/integration_tests/switch.rs
+assertion_line: 23
info:
program: wt
args:
@@ -21,7 +22,7 @@ info:
success: true
exit_code: 0
----- stdout -----
-βœ… Switched to worktree for main
+βœ… Switched to worktree for main at [REPO]
To enable automatic cd, run: wt configure-shell
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 ca2ff8c84..d41228c0c 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_create_new.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_create_new.snap
@@ -1,5 +1,6 @@
---
source: tests/integration_tests/switch.rs
+assertion_line: 23
info:
program: wt
args:
@@ -20,8 +21,7 @@ info:
success: true
exit_code: 0
----- stdout -----
-βœ… Created new worktree for feature-x
-Path: [REPO].feature-x
+βœ… Created new worktree for feature-x at [REPO].feature-x
To enable automatic cd, run: wt configure-shell
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 e6bb20c23..dc86ab9ac 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
@@ -1,5 +1,6 @@
---
source: tests/integration_tests/switch.rs
+assertion_line: 23
info:
program: wt
args:
@@ -22,7 +23,6 @@ info:
success: true
exit_code: 0
----- stdout -----
-βœ… Created new worktree for file-test
-Path: [REPO].file-test
+βœ… Created new worktree for file-test at [REPO].file-test
----- stderr -----
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 27f0c5cbc..228e8f5cd 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_execute_existing.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_execute_existing.snap
@@ -1,5 +1,6 @@
---
source: tests/integration_tests/switch.rs
+assertion_line: 23
info:
program: wt
args:
@@ -21,6 +22,6 @@ info:
success: true
exit_code: 0
----- stdout -----
-βœ… Switched to worktree for existing-exec
+βœ… Switched to worktree for existing-exec at [WORKTREE_EXISTING_EXEC]
----- stderr -----
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 901a9f63e..2268169a1 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_execute_failure.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_execute_failure.snap
@@ -1,5 +1,6 @@
---
source: tests/integration_tests/switch.rs
+assertion_line: 23
info:
program: wt
args:
@@ -22,8 +23,7 @@ info:
success: false
exit_code: 1
----- stdout -----
-βœ… Created new worktree for fail-test
-Path: [REPO].fail-test
+βœ… Created new worktree for fail-test at [REPO].fail-test
----- stderr -----
Command failed with exit code: exit status: 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 28ac414ee..6580b4ee7 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_execute_multiline.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_execute_multiline.snap
@@ -1,5 +1,6 @@
---
source: tests/integration_tests/switch.rs
+assertion_line: 23
info:
program: wt
args:
@@ -22,8 +23,7 @@ info:
success: true
exit_code: 0
----- stdout -----
-βœ… Created new worktree for multiline-test
-Path: [REPO].multiline-test
+βœ… Created new worktree for multiline-test at [REPO].multiline-test
line1
line2
line3
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 157a9eef0..d6497787e 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_execute_success.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_execute_success.snap
@@ -22,8 +22,7 @@ info:
success: true
exit_code: 0
----- stdout -----
-βœ… Created new worktree for exec-test
-Path: [REPO].exec-test
+βœ… Created new worktree for exec-test at [REPO].exec-test
test output
----- stderr -----
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_existing_branch.snap b/tests/snapshots/integration__integration_tests__switch__switch_existing_branch.snap
index 51dcc187c..ac182a15d 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_existing_branch.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_existing_branch.snap
@@ -1,5 +1,6 @@
---
source: tests/integration_tests/switch.rs
+assertion_line: 23
info:
program: wt
args:
@@ -19,7 +20,7 @@ info:
success: true
exit_code: 0
----- stdout -----
-βœ… Switched to worktree for feature-z
+βœ… Switched to worktree for feature-z at [WORKTREE_FEATURE_Z]
To enable automatic cd, run: wt configure-shell
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 dab60f80b..9a04d0d8d 100644
Binary files a/tests/snapshots/integration__integration_tests__switch__switch_existing_internal.snap and b/tests/snapshots/integration__integration_tests__switch__switch_existing_internal.snap differ
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 bb6de48a1..89c86a9e8 100644
Binary files a/tests/snapshots/integration__integration_tests__switch__switch_internal_mode.snap and b/tests/snapshots/integration__integration_tests__switch__switch_internal_mode.snap differ
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 d8014b8fb..d49dcd411 100644
Binary files a/tests/snapshots/integration__integration_tests__switch__switch_internal_with_execute.snap and b/tests/snapshots/integration__integration_tests__switch__switch_internal_with_execute.snap differ
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_no_config_commands_execute_still_runs.snap b/tests/snapshots/integration__integration_tests__switch__switch_no_config_commands_execute_still_runs.snap
index a18e746d6..8b039ed8a 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_no_config_commands_execute_still_runs.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_no_config_commands_execute_still_runs.snap
@@ -23,8 +23,7 @@ info:
success: true
exit_code: 0
----- stdout -----
-βœ… Created new worktree for no-config-commands-test
-Path: [REPO].no-config-commands-test
+βœ… Created new worktree for no-config-commands-test at [REPO].no-config-commands-test
execute command runs
----- stderr -----
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_no_config_commands_existing.snap b/tests/snapshots/integration__integration_tests__switch__switch_no_config_commands_existing.snap
index 3f1bb34fe..b3bb6573e 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_no_config_commands_existing.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_no_config_commands_existing.snap
@@ -22,7 +22,7 @@ info:
success: true
exit_code: 0
----- stdout -----
-βœ… Switched to worktree for existing-no-config-commands
+βœ… Switched to worktree for existing-no-config-commands at [WORKTREE_EXISTING_NO_CONFIG_COMMANDS]
execute still runs
----- stderr -----
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_no_config_commands_skips_post_start.snap b/tests/snapshots/integration__integration_tests__switch__switch_no_config_commands_skips_post_start.snap
index 40b5a986e..61540ab14 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_no_config_commands_skips_post_start.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_no_config_commands_skips_post_start.snap
@@ -14,7 +14,7 @@ info:
GIT_CONFIG_GLOBAL: /dev/null
GIT_CONFIG_SYSTEM: /dev/null
GIT_EDITOR: ""
- HOME: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpwrnD7P
+ HOME: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpOgSraL
LANG: C
LC_ALL: C
SOURCE_DATE_EPOCH: "1704067200"
@@ -22,8 +22,7 @@ info:
success: true
exit_code: 0
----- stdout -----
-βœ… Created new worktree for no-post-start
-Path: [REPO].no-post-start
+βœ… Created new worktree for no-post-start at [REPO].no-post-start
To enable automatic cd, run: wt configure-shell
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_no_config_commands_with_force.snap b/tests/snapshots/integration__integration_tests__switch__switch_no_config_commands_with_force.snap
index bd4937814..9c3c6518e 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_no_config_commands_with_force.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_no_config_commands_with_force.snap
@@ -15,7 +15,7 @@ info:
GIT_CONFIG_GLOBAL: /dev/null
GIT_CONFIG_SYSTEM: /dev/null
GIT_EDITOR: ""
- HOME: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmps62pQa
+ HOME: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmp6hwXw9
LANG: C
LC_ALL: C
SOURCE_DATE_EPOCH: "1704067200"
@@ -23,8 +23,7 @@ info:
success: true
exit_code: 0
----- stdout -----
-βœ… Created new worktree for force-no-config-commands
-Path: [REPO].force-no-config-commands
+βœ… Created new worktree for force-no-config-commands at [REPO].force-no-config-commands
To enable automatic cd, run: wt configure-shell
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 c7b4e6e62..63534942d 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_with_base.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_with_base.snap
@@ -22,8 +22,7 @@ info:
success: true
exit_code: 0
----- stdout -----
-βœ… Created new worktree for feature-with-base
-Path: [REPO].feature-with-base
+βœ… Created new worktree for feature-with-base at [REPO].feature-with-base
To enable automatic cd, run: wt configure-shell