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

Fix the doClone procedure to clone a repository as is #974

Merged
merged 2 commits into from
Jan 13, 2022

Conversation

bobeff
Copy link
Contributor

@bobeff bobeff commented Dec 22, 2021

To have the right package checksum when cloning a Git repository, we have to clone it without changing the line endings according to the operating system.

Fixes #957

To have the right package checksum when cloning a Git repository, we
have to clone it without changing the line endings according to the
operating system.

Fixes nim-lang#957
@bobeff
Copy link
Contributor Author

bobeff commented Dec 22, 2021

This fix seems to broke the tests exactly in the way of the bug it was intended to fix. 😆

When cloning a specific revision we also must disable automatic line
endings conversions just like for the `doClone` procedure in the
previous commit.

Related to nim-lang#957
@Araq Araq merged commit 5673273 into nim-lang:master Jan 13, 2022
@bobeff bobeff deleted the bugfix/line-endings branch July 30, 2023 21:59
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.

nimble sync reports checksum mismatch on Windows
3 participants