GNU bug report logs - #77214
`guix pull` fails with `autocrlf=true` in git config

Previous Next

Package: guix;

Reported by: Jodi Jodingtonstinski <jodijodingtondev <at> gmail.com>

Date: Sun, 23 Mar 2025 17:46:03 UTC

Severity: normal

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#77214: closed (`guix pull` fails with `autocrlf=true` in git
 config)
Date: Mon, 14 Apr 2025 21:10:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Mon, 14 Apr 2025 23:09:43 +0200
with message-id <87mscilaaw.fsf <at> gnu.org>
and subject line Re: bug#77214: `guix pull` fails with `autocrlf=true` in git config
has caused the debbugs.gnu.org bug report #77214,
regarding `guix pull` fails with `autocrlf=true` in git config
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
77214: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=77214
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Jodi Jodingtonstinski <jodijodingtondev <at> gmail.com>
To: bug-guix <at> gnu.org
Subject: `guix pull` fails with `autocrlf=true` in git config
Date: Sun, 23 Mar 2025 12:36:25 -0500
[Message part 3 (text/plain, inline)]
Ideally `guix pull` would ignore this setting (and possibly all user git
settings?) if it does not work with it.
 This causes errors such as:
 `gnu/packages/music.scm:2732:1: invalid character in escape sequence:
#\return`
and can be resolved by disabling autocrlf and deleting
`~/.cache/guix/checkouts` (thanks Rutherther)
[Message part 4 (text/html, inline)]
[Message part 5 (message/rfc822, inline)]
From: Ludovic Courtès <ludo <at> gnu.org>
To: Jodi Jodingtonstinski <jodijodingtondev <at> gmail.com>
Cc: 77214-done <at> debbugs.gnu.org
Subject: Re: bug#77214: `guix pull` fails with `autocrlf=true` in git config
Date: Mon, 14 Apr 2025 23:09:43 +0200
Hi Jodi,

Jodi Jodingtonstinski <jodijodingtondev <at> gmail.com> writes:

>  It would be great if you could try it and check that it works for you.
>  You can do that by:
>
>    rm -rf ~/.cache/guix/checkouts
>    git config --global core.autocrlf true
>    ./pre-inst-env guix download --git \
>       https://git.savannah.gnu.org/git/shepherd.git
>
> I did this and it worked!
> I also checked if the downloaded files had any carriage return characters and they did not, so AFAICT that guarantees autocrlf was
> ignored.
> thank you for this patch, I wasn't able to figure it out myself.

Pushed as b5e567bb2b277f89af493ba8cd0799fdb368a184.  Thanks for testing!

Ludo’.


This bug report was last modified 39 days ago.

Previous Next


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