Bug: Git sometimes disregards wildcards in pathspecs if a file name matches exactly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux