Code

gitignore.5: Clarify matching rules
authorJonathan Nieder <jrnieder@gmail.com>
Fri, 5 Mar 2010 15:56:39 +0000 (09:56 -0600)
committerJunio C Hamano <gitster@pobox.com>
Tue, 1 Jun 2010 01:11:10 +0000 (18:11 -0700)
commit81c13fde379c46cad6b6e4a03ed7ee4f686c030f
tree00992dda861c7109c4f1129d6481d77e66bc47ab
parent371276bf29314af04b804cfd877abcac62674a58
gitignore.5: Clarify matching rules

Patterns containing a / are implicitly anchored to the directory
containing the relevant .gitignore file.

Patterns not containing a / are textual matches against the path
name relative to the directory containing .gitignore.

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/gitignore.txt