Skip to content
This repository was archived by the owner on Jan 15, 2025. It is now read-only.

Hash line ending agnostic and import exclusion bug - #1095

Merged
Chris McConnell (chrimc62) merged 2 commits into
mainfrom
chrimc/hash
Jan 25, 2021
Merged

Chris McConnell (chrimc62) merged 2 commits into
mainfrom
chrimc/hash

Conversation

@chrimc62

@chrimc62 Chris McConnell (chrimc62) commented Jan 23, 2021

Copy link
Copy Markdown

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
Copy Markdown
Contributor

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?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants