Steps to reproduce: 1. Having the following global .gitconfig [alias] f = "!echo "test"" 2. Calling `git f` in a folder which does not belong to a git repoExpected Behavior:
Seeing some message like like `fatal: not a git repository (or any parent up to mount point /)` Actual Behavior: Prints "test" Git 2.37.1 under Arch Linux