Add hunk-commit to hunk-extension marketplace - #916
Merged
Conversation
hunk-commit lets you mark hunks while reviewing and stage, commit, or fold them into an earlier commit in git or Jujutsu. It is tagged hunk-extension and installable today but missing from the directory.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
Greptile SummaryAdds
Confidence Score: 5/5The PR appears safe to merge with no actionable correctness, security, or compatibility issues identified. The new catalog entry conforms to the existing schema, category values, ordering, installation-command format, and documented extension API compatibility semantics. Important Files Changed
Reviews (1): Last reviewed commit: "docs(website): list hunk-commit in the e..." | Re-trigger Greptile |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
hunk-commit(muzomer/hunk-commit) lets you mark hunks while reviewing inHunk and move them without leaving the review — into the git index, or into a
commit: a git commit, or a Jujutsu revision. Your files on disk never change.
It is tagged
hunk-extensionand installable today, but the directory doesnot list it, so the only way to find it is the GitHub topic.
Approach
One entry appended to
EXTENSION_CATALOGinwebsite/src/data/extensions.ts,in the file's existing order (alphabetical by owner, after
modem-dev's ownentries), between
mikeclarke/hunk-tutorandphl28/hunk-gh-review.Every field is taken from the extension's own manifest:
nameandversionfrom
package.json,apiVersionfrom itshunkblock,repoexactly ashunk extension installaccepts it.categoriesnames the surfaces it registers (checked in itsindex.ts):registerCommand(mark/unmark hunk, mark/unmark file, clear marks, stage,commit, commit with body, put into an existing commit, discard) and
registerLineHighlighter(marked hunks painted amber).Non-goals: no change to the page, the schema, or the build-time topic fetch.
Verification
bun test scripts/check-extension-catalog.test.ts— 9 pass, 0 failbunx oxlint website/src/data/extensions.ts --deny-warnings— 0 warnings, 0 errorschange to
hunkdiffbehaviour.This PR was opened automatically by a scheduled routine that checks for new
hunk-extension-tagged repositories.Generated by Claude Code