Skip to content

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

style(list): Undim list command table headers

Maximilian Roos3c53f29fb6f1
diff --git a/src/commands/list/render.rs b/src/commands/list/render.rs
index 2587c25b4..adf22aaf7 100644
--- a/src/commands/list/render.rs
+++ b/src/commands/list/render.rs
@@ -246,46 +246,64 @@ pub fn format_all_states(info: &WorktreeInfo) -> String {
pub fn format_header_line(layout: &LayoutConfig) {
let widths = &layout.widths;
let positions = &layout.positions;
- let dim = Style::new().dimmed();
+ let style = Style::new();
let mut line = StyledLine::new();
// Use absolute positions for guaranteed alignment
- push_header_at(&mut line, "Branch", widths.branch, positions.branch, dim);
+ push_header_at(&mut line, "Branch", widths.branch, positions.branch, style);
push_header_at(
&mut line,
"Working ±",
widths.working_diff.total,
positions.working_diff,
- dim,
+ style,
);
push_header_at(
&mut line,
"Main ↕",
widths.ahead_behind.total,
positions.ahead_behind,
- dim,
+ style,
);
push_header_at(
&mut line,
"Main ±",
widths.branch_diff.total,
positions.branch_diff,
- dim,
+ style,
);
- push_header_at(&mut line, "⚠️", widths.conflicts, positions.conflicts, dim);
- push_header_at(&mut line, "State", widths.states, positions.states, dim);
- push_header_at(&mut line, "Path", widths.path, positions.path, dim);
+ push_header_at(
+ &mut line,
+ "⚠️",
+ widths.conflicts,
+ positions.conflicts,
+ style,
+ );
+ push_header_at(&mut line, "State", widths.states, positions.states, style);
+ push_header_at(&mut line, "Path", widths.path, positions.path, style);
push_header_at(
&mut line,
"Remote ↕",
widths.upstream.total,
positions.upstream,
- dim,
+ style,
+ );
+ push_header_at(&mut line, "Age", widths.time, positions.time, style);
+ push_header_at(
+ &mut line,
+ "CI",
+ widths.ci_status,
+ positions.ci_status,
+ style,
+ );
+ push_header_at(&mut line, "Commit", widths.commit, positions.commit, style);
+ push_header_at(
+ &mut line,
+ "Message",
+ widths.message,
+ positions.message,
+ style,
);
- push_header_at(&mut line, "Age", widths.time, positions.time, dim);
- push_header_at(&mut line, "CI", widths.ci_status, positions.ci_status, dim);
- push_header_at(&mut line, "Commit", widths.commit, positions.commit, dim);
- push_header_at(&mut line, "Message", widths.message, positions.message, dim);
println!("{}", line.render());
}
@@ -301,13 +319,13 @@ fn optional_reason_state(label: &str, reason: Option<&str>) -> Option<String> {
}
/// Push a header at an absolute column position
-fn push_header_at(line: &mut StyledLine, label: &str, width: usize, position: usize, dim: Style) {
+fn push_header_at(line: &mut StyledLine, label: &str, width: usize, position: usize, style: Style) {
if width > 0 {
// Pad to absolute position
line.pad_to(position);
// Add header content padded to width
let header = format!("{:width$}", label, width = width);
- line.push_styled(header, dim);
+ line.push_styled(header, style);
}
}
diff --git a/tests/snapshots/integration__integration_tests__list__detached_head.snap b/tests/snapshots/integration__integration_tests__list__detached_head.snap
index 5c32e66c7..5f0ed167b 100644
--- a/tests/snapshots/integration__integration_tests__list__detached_head.snap
+++ b/tests/snapshots/integration__integration_tests__list__detached_head.snap
@@ -15,12 +15,12 @@ info:
LANG: C
LC_ALL: C
SOURCE_DATE_EPOCH: "1761609600"
- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpBKtDvQ/test-config.toml
+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpXpOsRN/test-config.toml
---
success: true
exit_code: 0
----- stdout -----
-Branch  PathAge  Commit  Message 
+Branch PathAge Commit Message
(detached) . 10 months ago b834638e Initial commit
Showing 1 worktree
diff --git a/tests/snapshots/integration__integration_tests__list__locked_no_reason.snap b/tests/snapshots/integration__integration_tests__list__locked_no_reason.snap
index 299314bae..b06b5907c 100644
--- a/tests/snapshots/integration__integration_tests__list__locked_no_reason.snap
+++ b/tests/snapshots/integration__integration_tests__list__locked_no_reason.snap
@@ -15,12 +15,12 @@ info:
LANG: C
LC_ALL: C
SOURCE_DATE_EPOCH: "1761609600"
- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpNYx2sC/test-config.toml
+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpSJwl1w/test-config.toml
---
success: true
exit_code: 0
----- stdout -----
-Branch  State  Path  Age  Commit  Message 
+Branch State Path Age Commit Message
main  ./test-repo  10 months ago b834638e Initial commit
locked-no-reason (locked) ./locked-no-reason 10 months ago b834638e Initial commit
diff --git a/tests/snapshots/integration__integration_tests__list__locked_worktree.snap b/tests/snapshots/integration__integration_tests__list__locked_worktree.snap
index fd66cddd3..8505ddabf 100644
--- a/tests/snapshots/integration__integration_tests__list__locked_worktree.snap
+++ b/tests/snapshots/integration__integration_tests__list__locked_worktree.snap
@@ -15,12 +15,12 @@ info:
LANG: C
LC_ALL: C
SOURCE_DATE_EPOCH: "1761609600"
- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpPoSnTS/test-config.toml
+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpSVDzII/test-config.toml
---
success: true
exit_code: 0
----- stdout -----
-Branch  State  Path  Age  Commit  Message 
+Branch State Path Age Commit Message
main  ./test-repo  10 months ago b834638e Initial commit
locked-feature (locked: Testing lock functionality) ./locked-feature 10 months ago b834638e Initial commit
diff --git a/tests/snapshots/integration__integration_tests__list__long_commit_message.snap b/tests/snapshots/integration__integration_tests__list__long_commit_message.snap
index a4c02b4dd..19328facb 100644
--- a/tests/snapshots/integration__integration_tests__list__long_commit_message.snap
+++ b/tests/snapshots/integration__integration_tests__list__long_commit_message.snap
@@ -15,12 +15,12 @@ info:
LANG: C
LC_ALL: C
SOURCE_DATE_EPOCH: "1761609600"
- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpQgEDYU/test-config.toml
+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmp9R1VWO/test-config.toml
---
success: true
exit_code: 0
----- stdout -----
-Branch  Main ↕ Path  Age  Commit  Message 
+Branch Main ↕ Path Age Commit Message
main  ./test-repo 10 months ago 1310bfb9 Short message
feature-a ↓1 ./feature-a 10 months ago f078644e This is a very long commit message that should test how the message column handles...
diff --git a/tests/snapshots/integration__integration_tests__list__many_worktrees_varied.snap b/tests/snapshots/integration__integration_tests__list__many_worktrees_varied.snap
index b3c6dfedd..41070a93a 100644
--- a/tests/snapshots/integration__integration_tests__list__many_worktrees_varied.snap
+++ b/tests/snapshots/integration__integration_tests__list__many_worktrees_varied.snap
@@ -15,12 +15,12 @@ info:
LANG: C
LC_ALL: C
SOURCE_DATE_EPOCH: "1761609600"
- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpCvU6ml/test-config.toml
+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpYrE1WE/test-config.toml
---
success: true
exit_code: 0
----- stdout -----
-Branch  Path  Age  Commit  Message 
+Branch Path Age Commit Message
main  ./test-repo  10 months ago b834638e Initial commit
medium-name  ./medium-name  10 months ago b834638e Initial commit
short  ./short  10 months ago b834638e Initial commit
diff --git a/tests/snapshots/integration__integration_tests__list__multiple_worktrees.snap b/tests/snapshots/integration__integration_tests__list__multiple_worktrees.snap
index 42df75dbd..f5637ba13 100644
--- a/tests/snapshots/integration__integration_tests__list__multiple_worktrees.snap
+++ b/tests/snapshots/integration__integration_tests__list__multiple_worktrees.snap
@@ -15,12 +15,12 @@ info:
LANG: C
LC_ALL: C
SOURCE_DATE_EPOCH: "1761609600"
- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpLLmUM9/test-config.toml
+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpee4uIe/test-config.toml
---
success: true
exit_code: 0
----- stdout -----
-Branch  Path  Age  Commit  Message 
+Branch Path Age Commit Message
main  ./test-repo 10 months ago b834638e Initial commit
feature-a ./feature-a 10 months ago b834638e Initial commit
feature-b ./feature-b 10 months ago b834638e Initial commit
diff --git a/tests/snapshots/integration__integration_tests__list__single_worktree.snap b/tests/snapshots/integration__integration_tests__list__single_worktree.snap
index 02f5513a8..63661d9f4 100644
--- a/tests/snapshots/integration__integration_tests__list__single_worktree.snap
+++ b/tests/snapshots/integration__integration_tests__list__single_worktree.snap
@@ -15,12 +15,12 @@ info:
LANG: C
LC_ALL: C
SOURCE_DATE_EPOCH: "1761609600"
- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmp6eAagZ/test-config.toml
+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpanr76U/test-config.toml
---
success: true
exit_code: 0
----- stdout -----
-Branch PathAge  Commit  Message 
+Branch PathAge Commit Message
main  . 10 months ago b834638e Initial commit
Showing 1 worktree
diff --git a/tests/snapshots/integration__integration_tests__list__unicode_commit_message.snap b/tests/snapshots/integration__integration_tests__list__unicode_commit_message.snap
index c29850dd4..edaacca14 100644
--- a/tests/snapshots/integration__integration_tests__list__unicode_commit_message.snap
+++ b/tests/snapshots/integration__integration_tests__list__unicode_commit_message.snap
@@ -15,12 +15,12 @@ info:
LANG: C
LC_ALL: C
SOURCE_DATE_EPOCH: "1761609600"
- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmphTp3kX/test-config.toml
+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmp1XehRU/test-config.toml
---
success: true
exit_code: 0
----- stdout -----
-Branch  Main ↕ Path  Age  Commit  Message 
+Branch Main ↕ Path Age Commit Message
main  ./test-repo  10 months ago e4614cb7 Fix bug with café ☕ handling
feature-test ↓1 ./feature-test 10 months ago 0c53695b Add support for 日本語 and émoji 🎉
diff --git a/tests/snapshots/integration__integration_tests__list__with_branches_flag.snap b/tests/snapshots/integration__integration_tests__list__with_branches_flag.snap
index 290dbf8df..31eddb574 100644
--- a/tests/snapshots/integration__integration_tests__list__with_branches_flag.snap
+++ b/tests/snapshots/integration__integration_tests__list__with_branches_flag.snap
@@ -16,12 +16,12 @@ info:
LANG: C
LC_ALL: C
SOURCE_DATE_EPOCH: "1761609600"
- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpDIL3wZ/test-config.toml
+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpf6rlKS/test-config.toml
---
success: true
exit_code: 0
----- stdout -----
-Branch  Path  Age  Commit  Message 
+Branch Path Age Commit Message
main  ./test-repo  10 months ago b834638e Initial commit
feature-with-worktree  ./feature-with-worktree 10 months ago b834638e Initial commit
another-branch  10 months ago b834638e Initial commit
diff --git a/tests/snapshots/integration__integration_tests__list__with_branches_flag_none_available.snap b/tests/snapshots/integration__integration_tests__list__with_branches_flag_none_available.snap
index 9c7c3c1c7..8da229106 100644
--- a/tests/snapshots/integration__integration_tests__list__with_branches_flag_none_available.snap
+++ b/tests/snapshots/integration__integration_tests__list__with_branches_flag_none_available.snap
@@ -16,12 +16,12 @@ info:
LANG: C
LC_ALL: C
SOURCE_DATE_EPOCH: "1761609600"
- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmphwXIPX/test-config.toml
+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpZ5v5r6/test-config.toml
---
success: true
exit_code: 0
----- stdout -----
-Branch  Path  Age  Commit  Message 
+Branch Path Age Commit Message
main  ./test-repo 10 months ago b834638e Initial commit
feature-a ./feature-a 10 months ago b834638e Initial commit
feature-b ./feature-b 10 months ago b834638e Initial commit
diff --git a/tests/snapshots/integration__integration_tests__list__with_branches_flag_only_branches.snap b/tests/snapshots/integration__integration_tests__list__with_branches_flag_only_branches.snap
index 45c20cb86..8a6dacea6 100644
--- a/tests/snapshots/integration__integration_tests__list__with_branches_flag_only_branches.snap
+++ b/tests/snapshots/integration__integration_tests__list__with_branches_flag_only_branches.snap
@@ -16,12 +16,12 @@ info:
LANG: C
LC_ALL: C
SOURCE_DATE_EPOCH: "1761609600"
- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmp37Kz9N/test-config.toml
+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmp8A7GdE/test-config.toml
---
success: true
exit_code: 0
----- stdout -----
-Branch  PathAge  Commit  Message 
+Branch PathAge Commit Message
main  . 10 months ago b834638e Initial commit
branch-alpha 10 months ago b834638e Initial commit
branch-beta  10 months ago b834638e Initial commit
diff --git a/tests/snapshots/integration__integration_tests__security__commit_message_with_directive_not_executed.snap b/tests/snapshots/integration__integration_tests__security__commit_message_with_directive_not_executed.snap
index b7800713e..329a6bb66 100644
--- a/tests/snapshots/integration__integration_tests__security__commit_message_with_directive_not_executed.snap
+++ b/tests/snapshots/integration__integration_tests__security__commit_message_with_directive_not_executed.snap
@@ -15,12 +15,12 @@ info:
LANG: C
LC_ALL: C
SOURCE_DATE_EPOCH: "1761609600"
- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpLNNWGl/test-config.toml
+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmp5b5Nqr/test-config.toml
---
success: true
exit_code: 0
----- stdout -----
-Branch  Path  Age  Commit  Message 
+Branch Path Age Commit Message
main  ./test-repo 10 months ago [SHA] Fix bug __WORKTRUNK_EXEC__echo PWNED > /tmp/hacked4
feature ./feature  10 months ago [SHA] Fix bug __WORKTRUNK_EXEC__echo PWNED > /tmp/hacked4
diff --git a/tests/snapshots/integration__integration_tests__security__path_with_directive_not_executed.snap b/tests/snapshots/integration__integration_tests__security__path_with_directive_not_executed.snap
index 2b729a9a0..23455ef74 100644
--- a/tests/snapshots/integration__integration_tests__security__path_with_directive_not_executed.snap
+++ b/tests/snapshots/integration__integration_tests__security__path_with_directive_not_executed.snap
@@ -15,12 +15,12 @@ info:
LANG: C
LC_ALL: C
SOURCE_DATE_EPOCH: "1761609600"
- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpJ6GAsz/test-config.toml
+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpn4LYyL/test-config.toml
---
success: true
exit_code: 0
----- stdout -----
-Branch PathAge  Commit  Message 
+Branch PathAge Commit Message
main  . 10 months ago b834638e Initial commit
Showing 1 worktree
diff --git a/tests/snapshots/integration__integration_tests__spacing_edge_cases__alignment_empty_diffs.snap b/tests/snapshots/integration__integration_tests__spacing_edge_cases__alignment_empty_diffs.snap
index 6415d6661..6672b706e 100644
--- a/tests/snapshots/integration__integration_tests__spacing_edge_cases__alignment_empty_diffs.snap
+++ b/tests/snapshots/integration__integration_tests__spacing_edge_cases__alignment_empty_diffs.snap
@@ -15,12 +15,12 @@ info:
LANG: C
LC_ALL: C
SOURCE_DATE_EPOCH: "1761609600"
- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpFBLRVg/test-config.toml
+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmp2juM3W/test-config.toml
---
success: true
exit_code: 0
----- stdout -----
-Branch  Working ± Path  Age  Commit  Message 
+Branch Working ± Path Age Commit Message
main  ./test-repo  10 months ago b834638e Initial commit
also-no-changes ./also-no-changes 10 months ago b834638e Initial commit
no-changes  ./no-changes  10 months ago b834638e Initial commit
diff --git a/tests/snapshots/integration__integration_tests__spacing_edge_cases__alignment_extreme_diffs.snap b/tests/snapshots/integration__integration_tests__spacing_edge_cases__alignment_extreme_diffs.snap
index 916f13809..9267a6a6e 100644
--- a/tests/snapshots/integration__integration_tests__spacing_edge_cases__alignment_extreme_diffs.snap
+++ b/tests/snapshots/integration__integration_tests__spacing_edge_cases__alignment_extreme_diffs.snap
@@ -15,12 +15,12 @@ info:
LANG: C
LC_ALL: C
SOURCE_DATE_EPOCH: "1761609600"
- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpMPIBA3/test-config.toml
+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpLgpYLD/test-config.toml
---
success: true
exit_code: 0
----- stdout -----
-Branch Working ± Path  Age  Commit  Message 
+Branch Working ± Path Age Commit Message
main  ./test-repo 10 months ago b834638e Initial commit
huge  ./huge  10 months ago b834638e Initial commit
tiny +1 -1 ./tiny 10 months ago b834638e Initial commit
diff --git a/tests/snapshots/integration__integration_tests__spacing_edge_cases__alignment_varying_diffs.snap b/tests/snapshots/integration__integration_tests__spacing_edge_cases__alignment_varying_diffs.snap
index 185e79fe2..2eb84cc69 100644
--- a/tests/snapshots/integration__integration_tests__spacing_edge_cases__alignment_varying_diffs.snap
+++ b/tests/snapshots/integration__integration_tests__spacing_edge_cases__alignment_varying_diffs.snap
@@ -15,12 +15,12 @@ info:
LANG: C
LC_ALL: C
SOURCE_DATE_EPOCH: "1761609600"
- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpwlY9Xm/test-config.toml
+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpvaNOsv/test-config.toml
---
success: true
exit_code: 0
----- stdout -----
-Branch  Path  Age  Commit  Message 
+Branch Path Age Commit Message
main  ./test-repo  10 months ago b834638e Initial commit
feature-large  ./feature-large  10 months ago b834638e Initial commit
feature-medium ./feature-medium 10 months ago b834638e Initial commit
diff --git a/tests/snapshots/integration__integration_tests__spacing_edge_cases__long_branch_names.snap b/tests/snapshots/integration__integration_tests__spacing_edge_cases__long_branch_names.snap
index 7a43b7a35..3d603c6c0 100644
--- a/tests/snapshots/integration__integration_tests__spacing_edge_cases__long_branch_names.snap
+++ b/tests/snapshots/integration__integration_tests__spacing_edge_cases__long_branch_names.snap
@@ -15,12 +15,12 @@ info:
LANG: C
LC_ALL: C
SOURCE_DATE_EPOCH: "1761609600"
- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpCOYry0/test-config.toml
+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmp0A7MAM/test-config.toml
---
success: true
exit_code: 0
----- stdout -----
-Branch  Path  Age  Commit  Message 
+Branch Path Age Commit Message
main  ./test-repo  10 months ago b834638e Initial commit
another-extremely-long-name-here ./another-extremely-long-name-here 10 months ago b834638e Initial commit
short  ./short  10 months ago b834638e Initial commit
diff --git a/tests/snapshots/integration__integration_tests__spacing_edge_cases__mixed_length_branch_names.snap b/tests/snapshots/integration__integration_tests__spacing_edge_cases__mixed_length_branch_names.snap
index 44d5e7784..f1094b05c 100644
--- a/tests/snapshots/integration__integration_tests__spacing_edge_cases__mixed_length_branch_names.snap
+++ b/tests/snapshots/integration__integration_tests__spacing_edge_cases__mixed_length_branch_names.snap
@@ -15,12 +15,12 @@ info:
LANG: C
LC_ALL: C
SOURCE_DATE_EPOCH: "1761609600"
- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmp4Tqlyu/test-config.toml
+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpbSvlxV/test-config.toml
---
success: true
exit_code: 0
----- stdout -----
-Branch Path  Age  Commit  Message 
+Branch Path Age Commit Message
main  ./test-repo  10 months ago b834638e Initial commit
long  ./extremely-long-branch-name-that-might-cause-layout-issues 10 months ago b834638e Initial commit
medium ./medium-length-name  10 months ago b834638e Initial commit
diff --git a/tests/snapshots/integration__integration_tests__spacing_edge_cases__short_branch_names.snap b/tests/snapshots/integration__integration_tests__spacing_edge_cases__short_branch_names.snap
index ad05e8d23..3c5e410c7 100644
--- a/tests/snapshots/integration__integration_tests__spacing_edge_cases__short_branch_names.snap
+++ b/tests/snapshots/integration__integration_tests__spacing_edge_cases__short_branch_names.snap
@@ -15,12 +15,12 @@ info:
LANG: C
LC_ALL: C
SOURCE_DATE_EPOCH: "1761609600"
- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpPVJRCP/test-config.toml
+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpXWDdNB/test-config.toml
---
success: true
exit_code: 0
----- stdout -----
-Branch Path  Age  Commit  Message 
+Branch Path Age Commit Message
main  ./test-repo 10 months ago b834638e Initial commit
a  ./a  10 months ago b834638e Initial commit
bb  ./bb  10 months ago b834638e Initial commit
diff --git a/tests/snapshots/integration__integration_tests__spacing_edge_cases__terminal_width_120.snap b/tests/snapshots/integration__integration_tests__spacing_edge_cases__terminal_width_120.snap
index fb6cf3fc6..ce4c2dd4b 100644
--- a/tests/snapshots/integration__integration_tests__spacing_edge_cases__terminal_width_120.snap
+++ b/tests/snapshots/integration__integration_tests__spacing_edge_cases__terminal_width_120.snap
@@ -15,12 +15,12 @@ info:
LANG: C
LC_ALL: C
SOURCE_DATE_EPOCH: "1761609600"
- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpiZjU6X/test-config.toml
+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmp2stvRt/test-config.toml
---
success: true
exit_code: 0
----- stdout -----
-Branch  Path  Age  Commit  Message 
+Branch Path Age Commit Message
main  ./test-repo 10 months ago a7bc47ca Initial commit with a reasonably long message
feature-a ./feature-a 10 months ago a7bc47ca Initial commit with a reasonably long message
feature-b ./feature-b 10 months ago a7bc47ca Initial commit with a reasonably long message
diff --git a/tests/snapshots/integration__integration_tests__spacing_edge_cases__terminal_width_150.snap b/tests/snapshots/integration__integration_tests__spacing_edge_cases__terminal_width_150.snap
index 6a772b606..cce29d928 100644
--- a/tests/snapshots/integration__integration_tests__spacing_edge_cases__terminal_width_150.snap
+++ b/tests/snapshots/integration__integration_tests__spacing_edge_cases__terminal_width_150.snap
@@ -15,12 +15,12 @@ info:
LANG: C
LC_ALL: C
SOURCE_DATE_EPOCH: "1761609600"
- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpZSZ6se/test-config.toml
+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpQquPsf/test-config.toml
---
success: true
exit_code: 0
----- stdout -----
-Branch  Path  Age  Commit  Message 
+Branch Path Age Commit Message
main  ./test-repo 10 months ago a7bc47ca Initial commit with a reasonably long message
feature-a ./feature-a 10 months ago a7bc47ca Initial commit with a reasonably long message
feature-b ./feature-b 10 months ago a7bc47ca Initial commit with a reasonably long message
diff --git a/tests/snapshots/integration__integration_tests__spacing_edge_cases__terminal_width_80.snap b/tests/snapshots/integration__integration_tests__spacing_edge_cases__terminal_width_80.snap
index be89e3386..14c91d701 100644
--- a/tests/snapshots/integration__integration_tests__spacing_edge_cases__terminal_width_80.snap
+++ b/tests/snapshots/integration__integration_tests__spacing_edge_cases__terminal_width_80.snap
@@ -15,12 +15,12 @@ info:
LANG: C
LC_ALL: C
SOURCE_DATE_EPOCH: "1761609600"
- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpeBR5po/test-config.toml
+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpOqVuJR/test-config.toml
---
success: true
exit_code: 0
----- stdout -----
-Branch  Path  Age  Commit  Message 
+Branch Path Age Commit Message
main  ./test-repo 10 months ago a7bc47ca Initial commit with a...
feature-a ./feature-a 10 months ago a7bc47ca Initial commit with a...
feature-b ./feature-b 10 months ago a7bc47ca Initial commit with a...
diff --git a/tests/snapshots/integration__integration_tests__spacing_edge_cases__unicode_branch_names.snap b/tests/snapshots/integration__integration_tests__spacing_edge_cases__unicode_branch_names.snap
index a76e85cf9..ad1ae01d7 100644
--- a/tests/snapshots/integration__integration_tests__spacing_edge_cases__unicode_branch_names.snap
+++ b/tests/snapshots/integration__integration_tests__spacing_edge_cases__unicode_branch_names.snap
@@ -15,12 +15,12 @@ info:
LANG: C
LC_ALL: C
SOURCE_DATE_EPOCH: "1761609600"
- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpI0B2V3/test-config.toml
+ WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpUDTJaG/test-config.toml
---
success: true
exit_code: 0
----- stdout -----
-Branch Path  Age  Commit  Message 
+Branch Path Age Commit Message
main  ./test-repo 10 months ago b834638e Initial commit
cafe  ./café  10 months ago b834638e Initial commit
naive  ./naïve  10 months ago b834638e Initial commit