Re: Gitignore documentation

2019-01-15 Thread Duy Nguyen
On Tue, Jan 15, 2019 at 4:38 AM Jonathan Nieder wrote: > > Hi, > > Junio C Hamano wrote: > > > Patterns with slash is anchored at > > one directory, and that directory is the one that has per-directory > > .gitignore file. Patterns without slash (including a patte

Re: Gitignore documentation

2019-01-14 Thread Junio C Hamano
Jonathan Nieder writes: > https://public-inbox.org/git/2007080926.gc30...@elie.hsd1.il.comcast.net/ > > Any idea what happened there? Would it be useful for me to rebase > and revive that series? No idea what happend there. Anyway, I quickly read them over and found nothing questionable, e

Re: Gitignore documentation

2019-01-14 Thread Jonathan Nieder
Hi, Junio C Hamano wrote: > Patterns with slash is anchored at > one directory, and that directory is the one that has per-directory > .gitignore file. Patterns without slash (including a pattern that > ends with but otherwise has no other slash) are supposed to

Re: Gitignore documentation

2019-01-14 Thread Junio C Hamano
Maris Razvan writes: > I was reading the gitignore documentation > (https://git-scm.com/docs/gitignore), especially the following > paragraph: > > "If the pattern does not contain a slash /, Git treats it as > a shell glob pattern and checks for a match against the pathname > relative to