Skip to content

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

Use relative paths in worktree config and docs

Maximilian Roosdebb735fe906
diff --git a/.config/wt.toml b/.config/wt.toml
index 81c6a163e..4689983d1 100644
--- a/.config/wt.toml
+++ b/.config/wt.toml
@@ -13,13 +13,13 @@
# Result: ~3 seconds instead of ~68 seconds
# macOS: uses cp -c (clonefile on APFS)
deps = """
-[ -d {{ repo_root }}/target/debug/deps ] && [ ! -e {{ worktree }}/target ] &&
-mkdir -p {{ worktree }}/target/debug/deps &&
-cp -c {{ repo_root }}/target/debug/deps/*.rlib {{ repo_root }}/target/debug/deps/*.rmeta {{ worktree }}/target/debug/deps/ &&
-cp -cR {{ repo_root }}/target/debug/.fingerprint {{ repo_root }}/target/debug/build {{ worktree }}/target/debug/
+[ -d {{ repo_root }}/target/debug/deps ] && [ ! -e target ] &&
+mkdir -p target/debug/deps &&
+cp -c {{ repo_root }}/target/debug/deps/*.rlib {{ repo_root }}/target/debug/deps/*.rmeta target/debug/deps/ &&
+cp -cR {{ repo_root }}/target/debug/.fingerprint {{ repo_root }}/target/debug/build target/debug/
"""
# Fetch demo assets for docs development
-assets = "{{ repo_root }}/scripts/fetch-assets"
+assets = "./scripts/fetch-assets"
# Post-merge hooks
# These run in the main worktree after successful merge and push