Re: [git-users] Different behaviour for git add with ignored files

2014-12-04 Thread Dale R. Worley
Guilherme guibuf...@gmail.com writes: In my .git/info/exclude i have the patterns: !COM/config/Project.gny (...) other ignores /COM/config (...) more ignores Is that perhaps a mistake? I believe you want the first line to be !/COM/config/Project.gny, because there is only one Project.gny

[git-users] Different behaviour for git add with ignored files

2014-12-02 Thread Guilherme
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

Re: [git-users] Different behaviour for git add with ignored files

2014-12-02 Thread Konstantin Khomoutov
On Tue, 2 Dec 2014 14:42:27 +0100 Guilherme guibuf...@gmail.com wrote: 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