You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Make git hooks Windows-compatible — hooks use #!/bin/bash so Git (Windows) silently skips them #140
On Windows (Git for Windows), graphify's installed git hooks (post-commit / post-checkout) frequently do nothing after a commit because the hook files start with #!/bin/bash. Git for Windows executes hooks with its bundled sh.exe (Git\bin\sh.exe) which will try to use the shebang interpreter. If bash (or python3 via /usr/bin/env) is not available in PATH in that environment, the hook is skipped silently and the graph is never rebuilt.
i have changed the post-checkout and post-commit to work with windows.
Fixed in v0.3.21. Git hooks now start with #!/bin/sh instead of #!/bin/bash. The hook scripts only use POSIX sh syntax so this works on Git for Windows, macOS, and Linux without any behaviour change.
Activity
Fix Codex hook JSON schema (#138) and use #!/bin/sh for Windows git h…
safishamsi commentedon Apr 9, 2026
Fixed in v0.3.21. Git hooks now start with
#!/bin/shinstead of#!/bin/bash. The hook scripts only use POSIX sh syntax so this works on Git for Windows, macOS, and Linux without any behaviour change.Upgrade and reinstall the hooks:
Fix Codex hook JSON schema (#138) and use #!/bin/sh for Windows git h…
Fix Codex hook JSON schema (Graphify-Labs#138) and use #!/bin/sh for …