Repository navigation
Conversation
Moves the pin from 2.0.8 to 2.0.12. Since 2.0.10 the hook no longer leaves index-sized files in the temp directory, index.stash.<pid> files in .git, or a dead .git/index.lock when its git calls are killed at their time limits.
mhegazy
enabled auto-merge
October 10, 2026 22:16
Author
|
The failing Generated by Claude Code |
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.
Human: @mhegazy
Manual SHA bump for
security-guidance, from 2.0.8 to 2.0.13.3ea32df27be7a9fd21643fc1The new SHA is the commit on
claude-plugins-officialmainthat merged the 2.0.13 version bump (anthropics/claude-plugins-official#6400).Why
2.0.8 can fill the disk in a clone with a large git index. When the hook's git calls are killed at their time limits, each kill can leave an index-sized file in the temp directory, an
index.stash.<pid>file in.git, and a dead.git/index.lockthat fails the nextgit addorgit commit. That is fixed from 2.0.10 on.Upstream changes in this range
git stash createand the work-tree diff run on a throwaway index copy, every git the hook spawns getsGIT_OPTIONAL_LOCKS=0, copies live in a private per-user folder, and leftovers older than 30 minutes are swept.index.stash.<pid>files that older releases left in the git directory are removed.No change to the entry other than
sha.Supersedes #1273, which targets
d182ca45, a commit from before the 2.0.10 fix.Generated by Claude Code