Re: Bug in .gitignore handling

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linus Torvalds
Date: Wednesday, March 26, 2008 - 1:27 pm

On Wed, 26 Mar 2008, Tommy Thorn wrote:

Close but no cigar.

Use "/foo" and it should be ok.

Basically, a path with a slash in it is considered absolute, but if the 
slash is at the end it will only match a directory. A slash at the 
*beginning* will match the root of the git repository, though.

			Linus
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Bug in .gitignore handling, Tommy Thorn, (Wed Mar 26, 1:01 pm)
Re: Bug in .gitignore handling, Junio C Hamano, (Wed Mar 26, 1:20 pm)
Re: Bug in .gitignore handling, Tommy Thorn, (Wed Mar 26, 1:26 pm)
Re: Bug in .gitignore handling, Linus Torvalds, (Wed Mar 26, 1:27 pm)
Re: Bug in .gitignore handling, Linus Torvalds, (Wed Mar 26, 1:32 pm)
Re: Bug in .gitignore handling, Tommy Thorn, (Wed Mar 26, 1:35 pm)
Re: Bug in .gitignore handling, Junio C Hamano, (Wed Mar 26, 1:49 pm)