sds / overcommit

A fully configurable and extendable Git hook manager
MIT License
3.92k stars 281 forks source link

Overcommit says I have overcommit hooks on ALL repositories #788

Open pboling opened 2 years ago

pboling commented 2 years ago
  1. Overcommit says I have overcommit hooks on ALL repositories; even, and especially, on ones that DO NOT have overcommit hooks installed.
  2. It also tells me the hooks are installed after I do overcommit --uninstall.
  3. Overcommit always tells me it is not installed when it is. Even when running git commands in the terminal where the current local ruby is set with asdf-ruby.
  4. Uninstalling overcommit seems to leave the ~/.git-support in place so I am stuck in this eternal overcommit hell-loop forever.

At minimum, if overcommit is in a self-inflicted circular firing squad mode, at least fail less hard, so I am able to commit things.

Of note: as of MacOS 12 a global overcommit install is not possible, as the System Ruby can't be modified.

rm -rf ~/.git-support has resolved my issues it seems...