Milestone 1.3: Implement git_worktree_list tool (#3) #16
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "issue-3"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Implement the
git_worktree_listtool that parsesgit worktree listoutput into structured data with path, branch, commit hash, and current directory marker.Changes
parseWorktreeList()helper to parse rawgit worktree listoutput[main])(detached))isCurrent: truegit_worktree_listtool execute functiondetails.worktreesarraypivia closureTesting
git worktree listoutput (3 worktrees)Checklist