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

Hash line ending agnostic and import exclusion bug #1095

Merged
merged 2 commits into from Jan 25, 2021
Merged

Conversation

chrimc62
Copy link
Contributor

@chrimc62 chrimc62 commented Jan 23, 2021

Made hash computation line ending agnostic by normalizing to plain line feed. On CRLF systems this may result in a different hash than before. We always write OS.EOL, but git might change the line endings so this change was made.
Fix bug where imports were not excluded properly if they were relative paths. As a work-around people can add !/imported/ to their command line.
Added obj to default exclusions.

Fix bug where imports were not excluded properly.
Added obj to exclusions.
Copy link
Member

@munozemilio munozemilio left a comment

Choose a reason for hiding this comment

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

Should we add a test for this?

@chrimc62 chrimc62 merged commit 0184ff0 into main Jan 25, 2021
@munozemilio munozemilio deleted the chrimc/hash branch February 17, 2021 21:44
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.

None yet

2 participants