Skip to content

Add support for manually located/created worktrees - #10

Merged
nnutter merged 4 commits into
masterfrom
refresh
Oct 9, 2026
Merged

nnutter merged 4 commits into
masterfrom
refresh

Conversation

@nnutter

@nnutter nnutter commented Oct 9, 2026

Copy link
Copy Markdown
Owner

No description provided.

A full refresh hides every row behind a loading message after a
successful deletion. Update the cached worktrees instead so only the
deleted row disappears and the current filter stays intact.
Move the decoder to the model module so the CLI listing contract can
be tested independently of the macOS frontend before it becomes the
source of worktree membership.
Git worktrees can now live outside Timber's default directory layout,
and the CLI assigns names that cannot be inferred from those paths.
Use its listing as the source of membership, identity, and location.

Retain the previous cache if listing or decoding fails so a temporary
CLI failure does not erase the visible rows. Integration tests cover
custom locations, CLI names, and failed background refreshes.
A worktree delete was using the filter-field spinner. Put it on that row's delete icon so the row being removed is the one that looks busy.
@nnutter
nnutter enabled auto-merge October 9, 2026 22:31
@nnutter
nnutter merged commit 6ca7eed into master Oct 9, 2026
1 check passed
@nnutter
nnutter deleted the refresh branch October 9, 2026 22:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant