From: Niklas Date: Wed, 10 Aug 2022 17:03:19 GMT Subject: Bug: Git-Alias is callable from outside a git repo Message-ID: <20220810170319.mxd6h2p5tm6y5xx3@imap.mailbox.org> 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 repo Expected 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