Skip to content

feat: hunk-level staging — UI + stage/unstage per hunk #27

Description

@uditdc

Scope
Builds on the hunk-parsing foundation. Add per-hunk stage/unstage controls in DiffViewer.tsx, wired to git apply --cached with a generated patch.

Acceptance criteria

  • Staging a single hunk out of a multi-hunk file results in the correct partial index state (verify via git diff --cached).
  • Unstaging a hunk reverses cleanly without affecting other staged hunks in the same file.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestworking-treeWorking tree / commit UX

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions