gitignore.5: Clarify matching rules
commit67e4b53bf4bdd32437d287a45dea626fd960c903
authorJonathan Nieder <jrnieder@gmail.com>
Fri, 5 Mar 2010 15:56:39 +0000 (5 09:56 -0600)
committerPavan Kumar Sunkara <pavan.sss1991@gmail.com>
Mon, 21 Jun 2010 18:43:51 +0000 (22 00:13 +0530)
treea239eb3f99f11a7d7b3300f8d92c7e394dadbb97
parentfde269bd4de1d470308afc5cb26469c2eaabb555
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