Re: Wrong gitattributes documentation?

2017-06-02 Thread Rene Pasing
On 06/03/2017 02:01 AM, Junio C Hamano wrote: > Your "/images/*" is the "Otherwise" case, isn't it? Ok, sorry, didn't read your answer thoroughly enough the first time. The problem is, when I have an entry in .gitignore like this: /images Then git will ignore that whole directory (and all of its

Re: Wrong gitattributes documentation?

2017-06-02 Thread Rene Pasing
On 06/03/2017 02:01 AM, Junio C Hamano wrote: > Your "/images/*" is the "Otherwise" case, isn't it? Yes, true. I forgot to mention in my first mail that I also tried '/images/', which had the same (=none) effect as '/images/*', sorry about the confusion.

Wrong gitattributes documentation?

2017-06-02 Thread Rene Pasing
Hi all, I have noticed a strange behaviour when using git-lfs. If I understood correctly, git-lfs adds patterns to .gitattributes, for which git then calls lfs for any matches with this pattern. The problem is, the documentation[1] says: "The rules how the pattern matches paths are the same