Git-hunk – Stage hunks by hash, no "-p" required
Show HN: Git-hunk – Stage hunks by hash, no "-p" required
Operating in show hn launch, Git-hunk – Stage hunks by hash, no "-p" required operates.
Profile
git add -p is the only built-in way to stage individual hunks, and it's interactive — you step through hunks one at a time answering "y/n/q/a/d/e/?". That works fine for humans at a keyboard, but it's completely unusable for LLM agents, shell scripts, and CI pipelines.git-hunk is the non-interactive alternative. It gives every hunk a stable SHA-1 content hash, then lets you stage by hash:$ git hunk list --oneline a3f7c21 src/main.zig 42-49 if (flags.verbose) {… b82e0f4 src/parse.zig 15-28 fn parseArgs(alloc: … $ git hunk add a3f7c21 staged a3f7c21 → a3f7c21 src/main.zig The key design choice: hashes are computed from the immutable side's line numbers, so staging one hunk never changes anothe
Git-hunk – Stage hunks by hash, no "-p" required is positioned in show hn launch, a segment that rewards a clear, focused offering.
The company is listed at the Show HN launch stage of development.
| Sector | Show HN launch |
|---|---|
| Stage | Show HN launch |
Website: git-hunk.paulie.app
Browse related
Create a free account