Files
Bubberstation/tools/hooks/install.py
Lucy d0f49a31f5 Fix (un)installing git hooks erroring if you have any global merge drivers (#89718)
## About The Pull Request

`tools/hooks/install.py` iterates through all git config entries, and
tries to remove any merge drivers it finds.

However, this includes global `~/.gitconfig` entries and such, which
will result in an error if you have any merge drivers defined in the
global config.

I made it so it will only check local (`.git/config`) entries for merge
drivers.

## Why It's Good For The Game

fixes a rare but still annoying edge-case error

## Changelog

No user-facing changes, this is only a fix for development tools.
2025-03-01 14:55:57 +01:00

3.5 KiB