Message-ID: <20210203101414.4efa99b8@Tarkus>
Date: 2021-02-03T07:14:14Z
From: Ivan Krylov
Subject: md5sum issues
In-Reply-To: <59c03413-44f8-e142-8958-a5a95943e1d9@rgzm.de>
On Tue, 2 Feb 2021 17:01:05 +0100
Ivan Calandra <calandra at rgzm.de> wrote:
> This happens to all text-based files (Rmd, MD, CSV...) but not to
> non-editable files (PDF, XLSX...).
This is probably caused by Git helpfully converting text files from LF
(0x10) line endings to CR LF (0x13 0x10) when checking out the
repository clone on Windows (and back when checking in).
This configuration option is described in Pro Git:
https://git-scm.com/book/en/v2/Customizing-Git-Git-Configuration#_core_autocrlf
--
Best regards,
Ivan