Skip to content

Dont duplicate / if item already ends in it#6

Open
patbenatar wants to merge 1 commit intoEE:masterfrom
patbenatar:fix/duplicate-slash
Open

Dont duplicate / if item already ends in it#6
patbenatar wants to merge 1 commit intoEE:masterfrom
patbenatar:fix/duplicate-slash

Conversation

@patbenatar
Copy link

@patbenatar patbenatar commented Feb 11, 2017

Currently, if gitignore contains dir/ we end up with !dir/ and !dir//** — the globs that we actually want in this case are !dir (to ignore that directory itself) and !dir/** (to ignore all subdirectories).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant