2 pointsby mil227 hours ago1 comment
  • mil227 hours ago
    git add -p is interactive. It requires a human driving a terminal. LLM agents, shell scripts, and CI pipelines can't use it.

    git-hunk provides an enumerate-then-select workflow: list available hunks with stable content hashes, then stage or unstage specific hunks by hash. Hashes are deterministic and remain stable as other hunks are staged or unstaged, so multi-step staging workflows produce consistent results.