Closed suy closed 7 years ago
Your .gitignore
contains the rule examples/*/*/*
, which in turn causes any and all directories like examples/widgets/tools/regularexpression
to be ignored. Namely, they are never descended into.
Yes, there is also no !
pattern that overwrites this, as far as I can see. Those files (like widgets/tools/regularexpression/regularexpressiondialog.cpp
) are still there because they have been git add
-ed explicitly, but the .gitignore
pattern matches. If you add a file like widgets/tools/regularexpression/regularexpressiondialog2.cpp
, it is captured by the .gitignore
file:
> git check-ignore -v widgets/tools/regularexpression/*
.gitignore:4:examples/*/*/* widgets/tools/regularexpression/regularexpressiondialog2.cpp
I see, I was testing this now, and it's true, that gitignore rule is not appropiate. I'll see if I can fix the rule.
Thank you (specially for the mindblowingly fast response), and sorry for the trouble.
Hi! I'm not entirely sure, but I think I've experienced a bug parsing a git ignore file. I did (with 1.1):
The .gitignore file of that repository may be a bit complex since, if I understand it properly, it uses a glob to add some files that later on are removed with a negative glob. I'm not entirely sure of the rules for it, but to me that is a bug in
fd
, since the files shown with--no-ignore
are not ignored by git.Thank you!