Skip to content

parsec diff — view changes in worktree #41

@erishforG

Description

@erishforG

Description

Add parsec diff [ticket] to view file changes in a worktree.

Details

  • parsec diff — show diff for current worktree vs base branch
  • parsec diff <ticket> — show diff for a specific ticket's worktree
  • parsec diff --stat — show file-level summary only
  • parsec diff --name-only — list changed file names only

Replaces

  • git diff <base>..HEAD
  • git diff --stat

Implementation

  • Run git diff against the worktree's base branch
  • Use merge-base to find correct comparison point
  • Support --json output for changed file list

Priority

Medium — useful but git diff is well-known

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions