Skip to content

Tags: timvw/wt

Tags

v0.1.29

Toggle v0.1.29's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: handle spaces in home directory paths on Windows (#94)

* fix: handle spaces in home directory paths on Windows

- expandHome: support ~\ (backslash) prefix and expand $HOME/${HOME}/%USERPROFILE% via os.ExpandEnv
- remove: use porcelain worktree list to avoid strings.Fields splitting paths with spaces
- shellenv: shell-quote arguments in Linux script(1) invocation to preserve spaces
- config template: quote $WT_PATH/$WT_MAIN in hook examples

Closes #93

* fix: expand Windows %VAR% style environment variables in config paths

os.ExpandEnv only handles $VAR and ${VAR}. Add expandWindowsEnv for
%USERPROFILE% and similar Windows-style variables, called on Windows only.

Follow-up from Codex review of #94.

* fix: expand env vars in tilde paths like ~/$TEAM/worktrees

The tilde branch returned early, skipping os.ExpandEnv. Now env
expansion runs on all paths including those starting with ~.

Follow-up from Codex review round 2.

* fix: check return value of os.Stdout.WriteString (errcheck)

v0.1.28

Toggle v0.1.28's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat: add fuzzy matching for interactive branch selection (#81)

* feat: add fuzzy matching for interactive branch selection

Replace exact-substring search with fuzzy matching in all interactive
selection prompts (checkout, remove, pr, mr). Uses sahilm/fuzzy
library. Prompts now start in search mode for immediate typing.

* docs: update examples and README for fuzzy matching

* fix: add TextExample to interactive examples and fix test index

The TestAllExamplesHaveConcreteSamples test requires all non-JSON
examples to have a TextExample. Also fix TestRemoveJSONExampleIndex
which hardcoded index [1] but the interactive example shifted it to [2].

v0.1.27

Toggle v0.1.27's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: run checkout hooks when worktree already exists (#71) (#72)

Previously, `wt checkout` skipped pre/post checkout hooks when the
worktree already existed due to an early return. Now hooks run
regardless of whether the worktree is new or existing.

v0.1.26

Toggle v0.1.26's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: resolve branch names case-insensitively against remote refs (#70)

When creating or checking out a branch, wt now queries `git ls-remote
--heads origin` and matches the user-provided branch name
case-insensitively. If the remote has a differently-cased branch (e.g.
`Feature/add-logging` vs `feature/add-logging`), wt uses the remote's
casing and prints a note to stderr.

Fixes #69

v0.1.25

Toggle v0.1.25's commit message

Verified

This commit was signed with the committer’s verified signature.
timvw Tim Van Wassenhove
docs: re-record GIFs with vhs, add shell integration to demo

- Switch from shellwright to vhs for GIF recording (proper timing)
- Add vhs tape files for all 5 demos (quickstart, create, hooks, multi-repo, info)
- Enable shell integration in Docker image so prompt updates after wt co
- Clean up README: remove duplications, better structure

v0.1.24

Toggle v0.1.24's commit message
Release v0.1.24

v0.1.23

Toggle v0.1.23's commit message
Release v0.1.23

v0.1.21

Toggle v0.1.21's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: use fork+PR flow for winget publisher (#47)

v0.1.19

Toggle v0.1.19's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge pull request #44 from timvw/docs/multi-repo-example

docs: add multi-repo custom pattern example