Hello,

In my .git/info/exclude i have the patterns:

!COM/config/Project.gny
(...) other ignores
/COM/config
(...) more ignores

When i do

git add -- COM/config/Project.gny

I get no warnings or abort about the ignored path (as i expect) but

git add -- COM/config/Project.gny COM/otherfile.c

It outputs:
The following paths are ignored by one of your .gitignore files:
COM/config
Use -f if you really want to add them.
fatal: no files added

I don't understand the difference in the behaviour. Is this intended?

Thank you.

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to