Skip to content

Resolve absolute paths, so 'gitwatchd .' works - #5

Merged
Will-Howard merged 1 commit into
mainfrom
resolve-relative-target
Jul 28, 2026
Merged

Resolve absolute paths, so 'gitwatchd .' works#5
Will-Howard merged 1 commit into
mainfrom
resolve-relative-target

Conversation

@Will-Howard

Copy link
Copy Markdown
Owner

The CLI wrote the typed args verbatim to the config, so a relative target like '.' was later resolved against the daemon's working directory instead of the shell's. The parser now resolves the target against the directory the command was invoked from, and writes the fully qualified path.

@Will-Howard
Will-Howard force-pushed the resolve-relative-target branch from 662e63e to a3de4e8 Compare July 28, 2026 13:53
The CLI wrote the typed args verbatim to the config, so a relative
target like '.' was later resolved against the daemon's working
directory instead of the shell's. Only the target token is rewritten;
flag values stay verbatim.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@Will-Howard
Will-Howard force-pushed the resolve-relative-target branch from a3de4e8 to 74a6ae4 Compare July 28, 2026 13:54
@Will-Howard
Will-Howard merged commit a455d50 into main Jul 28, 2026
1 check passed
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