Skip to content

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

Release v0.1.22 (fix dist config for git-wt)

Maximilian Roos55af602e34f1
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 269da3b31..eb9a69534 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,6 +1,6 @@
# Changelog
-## 0.2.0
+## 0.1.22
### Changed
@@ -9,7 +9,7 @@
### Added
-- **`git-wt` binary for Windows**: New `git-wt` binary avoids conflict with Windows Terminal's `wt` command. Both `wt` and `git-wt` are installed by default. Shell init/install now accept `--cmd` to specify which binary name to use. ([#177](https://github.com/max-sixty/worktrunk/pull/177))
+- **`git-wt` binary for Windows**: New `git-wt` binary avoids conflict with Windows Terminal's `wt` command. Build with `--features git-wt`. Shell init/install now accept `--cmd` to specify which binary name to use. ([#177](https://github.com/max-sixty/worktrunk/pull/177))
- **Diffstat in select preview**: The log preview (Tab 2) in `wt select` now shows line change statistics (+N -M) matching `wt list`'s HEAD± column format. ([#179](https://github.com/max-sixty/worktrunk/pull/179))
### Fixed
diff --git a/Cargo.lock b/Cargo.lock
index 1201c1893..22ca186a4 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2946,7 +2946,7 @@ checksum = "f17a85883d4e6d00e8a97c586de764dabcc06133f7f1d55dce5cdc070ad7fe59"
[[package]]
name = "worktrunk"
-version = "0.2.0"
+version = "0.1.22"
dependencies = [
"ansi-str",
"ansi-to-html",
diff --git a/Cargo.toml b/Cargo.toml
index ad432fc0e..462391581 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -5,7 +5,7 @@ default-members = [".", "tests/helpers/dev-detach"]
[package]
name = "worktrunk"
-version = "0.2.0"
+version = "0.1.22"
edition = "2024"
rust-version = "1.89"
build = "build.rs"
@@ -32,6 +32,8 @@ syntax-highlighting = ["dep:tree-sitter", "dep:tree-sitter-bash", "dep:tree-sitt
# When enabled, run with NEXTEST_NO_INPUT_HANDLER=1 to avoid suspension.
# See CLAUDE.md "Nextest Terminal Suspension" section for details.
shell-integration-tests = []
+# Install git-wt binary so `git wt` works as a git subcommand
+git-wt = []
[lib]
name = "worktrunk"
@@ -44,9 +46,11 @@ path = "src/main.rs"
# Also install as git-wt so `git wt <command>` works as a git subcommand.
# Primarily useful on Windows where `wt` conflicts with Windows Terminal.
# See: https://github.com/max-sixty/worktrunk/issues/133
+# Install with: cargo install worktrunk --features git-wt
[[bin]]
name = "git-wt"
path = "src/git_wt.rs"
+required-features = ["git-wt"]
[dependencies]
diff --git a/dist-workspace.toml b/dist-workspace.toml
index a1c182c17..52f43f2c5 100644
--- a/dist-workspace.toml
+++ b/dist-workspace.toml
@@ -15,3 +15,5 @@ targets = ["aarch64-apple-darwin", "x86_64-apple-darwin", "aarch64-unknown-linux
install-updater = false
# Allow custom CI modifications
allow-dirty = ["ci"]
+# Enable git-wt binary in release builds (opt-in for cargo install)
+features = ["git-wt"]
diff --git a/docs/content/faq.md b/docs/content/faq.md
index eda02b55e..59c73c135 100644
--- a/docs/content/faq.md
+++ b/docs/content/faq.md
@@ -109,9 +109,10 @@ Arguments resolve by checking the filesystem before git branches:
Windows Terminal uses `wt` as its command-line launcher, so running `wt` invokes Terminal instead of Worktrunk.
-**Workaround:** Use `git-wt` instead. Both `wt` and `git-wt` binaries are installed by default:
+As an immediate workaround, install as `git-wt`:
```bash
+cargo install worktrunk --features git-wt
git-wt config shell install
```