<feed xmlns='http://www.w3.org/2005/Atom'>
<title>claude-plugins-official.git/plugins/security-guidance/tests/test_diff_prefix_config.py, branch bump/cloud-sql-sqlserver</title>
<subtitle>Official Claude Code plugin directory
</subtitle>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/'/>
<entry>
<title>security-guidance: read diffs the same whatever the user's prefix settings</title>
<updated>2026-10-13T20:57:12+00:00</updated>
<author>
<name>Mohamed Hegazy</name>
<email>mhegazy@anthropic.com</email>
</author>
<published>2026-10-13T20:57:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=eb638fbf680ae279a9e6699d2243344ccddc9624'/>
<id>eb638fbf680ae279a9e6699d2243344ccddc9624</id>
<content type='text'>
With diff.mnemonicPrefix or diff.noprefix set in the user's git config, diff headers no longer read `a/&lt;path&gt; b/&lt;path&gt;`, the parser matched no file, and the review was skipped with nothing shown. mnemonicPrefix switched off the Stop review; noprefix switched off the commit and push reviews as well.

Pass the default prefix settings on every git call the hook makes.

Fixes #4569
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
With diff.mnemonicPrefix or diff.noprefix set in the user's git config, diff headers no longer read `a/&lt;path&gt; b/&lt;path&gt;`, the parser matched no file, and the review was skipped with nothing shown. mnemonicPrefix switched off the Stop review; noprefix switched off the commit and push reviews as well.

Pass the default prefix settings on every git call the hook makes.

Fixes #4569
</pre>
</div>
</content>
</entry>
</feed>
