Skip to content

Cargo checksum changed due to EOL/CRLF at git checkout #351

@desmax74

Description

@desmax74

In a vendor folder with the unpacked dependencies libssh2-sys is the cause of our failed build because the checksum is changed. On addition to the repo we see the msgs:

warning: in the working copy of 'libssh2-sys/libssh2/tests/openssh_server/ca_ecdsa', CRLF will be replaced by LF the next time Git touches it warning: in the working copy of 'libssh2-sys/libssh2/tests/openssh_server/ca_ecdsa.pub', CRLF will be replaced by LF the next time Git touches it warning: in the working copy of 'libssh2-sys/libssh2/tests/openssh_server/ca_rsa', CRLF will be replaced by LF the next time Git touches it warning: in the working copy of 'libssh2-sys/libssh2/tests/openssh_server/ca_rsa.pub', CRLF will be replaced by LF the next time Git touches it warning: in the working copy of 'libssh2-sys/libssh2/tests/openssh_server/ssh_host_ed25519_key', CRLF will be replaced by LF the next time Git touches it warning: in the working copy of 'libssh2-sys/libssh2/tests/openssh_server/ssh_host_rsa_key', CRLF will be replaced by LF the next time Git touches it

To Reproduce:
Run cargo vendor in a project with libssh2-sys and add the content to a git repo

The source code must be handled correctly on every platform without breaking the checksums on git push and on git clone

Linux Fedora
libssh2: 0.3.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions