GNU bug report logs - #52801
'autocrlf' in ~/.gitconfig can break "guix pull" checkouts

Previous Next

Package: guix;

Reported by: Grigory Shepelev <shegeley <at> gmail.com>

Date: Sun, 26 Dec 2021 10:16:02 UTC

Severity: important

Full log


Message #32 received at 52801 <at> debbugs.gnu.org (full text, mbox):

From: Maxime Devos <maximedevos <at> telenet.be>
To: Grigory Shepelev <shegeley <at> gmail.com>
Cc: 52801 <at> debbugs.gnu.org, Ludovic Courtès <ludo <at> gnu.org>
Subject: Re: bug#52801: Guile misbehaves in case of escapes and carriage
 returns, sometimes breaking "guix pull"
Date: Mon, 31 Jan 2022 13:20:55 +0000
[Message part 1 (text/plain, inline)]
Grigory Shepelev schreef op ma 31-01-2022 om 15:48 [+0300]:
> The issue can be closed I guess. Thanks for your assistance.

> пн, 31 янв. 2022 г. в 00:06, Maxime Devos <maximedevos <at> telenet.be>:
> > 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.

I don't think that modifying some git settings should break "guix
pull",
so I wouldn't close yet.

Greetings,
Maxime

[Message part 2 (text/html, inline)]
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 3 years and 135 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.