Git hooks are not working with Cursor commit

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Cursor 3.21.16’s bundled git extension injects core.hooksPath=/dev/null into every git process it spawns, so commits from the Source Control panel bypass husky, lint-staged and the tsc gate. No setting controls it. Terminal commits run the hook normally.

Steps to Reproduce

Have a git hook with husky
Try from terminal & time it
Try the same commit from Cursor IDE

Expected Behavior

Cursor commit should run exactly like the terminal version

Operating System

MacOS

Version Information

Cursor IDE 3.21.16

Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor