Fix typo.

Thanks @dmit!
This commit is contained in:
Andrew Gallant 2016-09-24 19:43:01 -04:00
parent ce85df1d2e
commit f733e9ebe4

View File

@ -330,7 +330,7 @@ impl GitignoreBuilder {
if has_slash {
opts.require_literal_separator = true;
}
// If there was no leading slash, then this is a pattern that must
// If there was a leading slash, then this is a pattern that must
// match the entire path name. Otherwise, we should let it match
// anywhere, so use a **/ prefix.
if !is_absolute {