Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make .gitignore rules safer. #5546

Merged
merged 2 commits into from
Dec 11, 2019
Merged

Make .gitignore rules safer. #5546

merged 2 commits into from
Dec 11, 2019

Conversation

enisoc
Copy link
Member

@enisoc enisoc commented Dec 11, 2019

In particular, bin* ignores any file anywhere that even starts with "bin", of which we have many (e.g. "binlog_blah").

This change scopes these rules down to only match directories (/suffix) at the root of the repo (/ prefix).

@morgo Can you confirm these scoped-down rules still match the things you intended in #5527?

In particular, `bin*` ignores any file anywhere that even starts with
"bin", of which we have many (e.g. "binlog_blah").

This change scopes these rules down to only match directories (`/`
suffix) at the root of the repo (`/` prefix).

Signed-off-by: Anthony Yeh <[email protected]>
@enisoc enisoc requested a review from morgo December 11, 2019 19:18
@enisoc enisoc requested a review from sougou as a code owner December 11, 2019 19:18
So docker doesn't try to pull them into its build context.

Signed-off-by: Anthony Yeh <[email protected]>
Copy link
Contributor

@morgo morgo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm. thanks for fixing!

@enisoc enisoc merged commit f63e7bb into vitessio:master Dec 11, 2019
@enisoc enisoc deleted the git-ignore branch December 11, 2019 22:35
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.

2 participants