From: Piotr Siupa Date: Fri, 11 Apr 2025 19:08:03 GMT Subject: Bug: Git sometimes disregards wildcards in pathspecs if a file name matches exactly Message-ID: Hi! I think I've found a bug in the command "git add". It can be reproduced in a fresh repository by running: git init touch 'foo' 'f*' git add 'f*' The last command should add both files "f*" and "foo" to the index but it adds only "f*". Running it the second time works as expected. (It adds "foo" on the second attempt.) I'm using Git 2.43.2. The current "next" (2.49.0.805.g082f7c87e0) seems to have the same behavior if I'm testing it correctly.