[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#52801: Guile misbehaves in case of escapes and carriage returns, som
From: |
Ludovic Courtès |
Subject: |
bug#52801: Guile misbehaves in case of escapes and carriage returns, sometimes breaking "guix pull" |
Date: |
Tue, 01 Feb 2022 09:48:00 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
Hi Maxime,
Maxime Devos <maximedevos@telenet.be> skribis:
> Grigory Shepelev schreef op zo 30-01-2022 om 22:45 [+0300]:
>> Seems like the problem was in my .gitconfig file where "autocrlf =
>> true". I set it to "false", and cleared the cache. Then the "guix
>> pull" started to work as expected.
>
> According to
> <https://github.com/libgit2/libgit2/blob/HEAD/include/git2/clone.h#L111>
> and <https://libgit2.org/libgit2/#HEAD/type/git_checkout_options>,
> we can tell libgit to not do CRLF conversion, which would make (guix git)
> more robust.
Indeed. Looks like Guile-Git doesn’t expose checkout options yet, so
doing that would be the first step.
Maybe Guix should just ignore ~/.gitconfig altogether?
Thanks,
Ludo’.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#52801: Guile misbehaves in case of escapes and carriage returns, sometimes breaking "guix pull",
Ludovic Courtès <=