Subject: bug#77214: `guix pull` fails with `autocrlf=true` in git config

From: Ludovic Courtès <[email-masked]>
Date: Tue, 15 Apr 2025 18:39:06 +0200

Simon Tournier <[email-masked]> writes:

> This fixes appears to me incorrect.  Because it only fixes on a fresh
> clone,

Yes, but it’s a cache.

> From 2f2b1af5f2c87671be06660bb8d8b6d2c9c3f6dd Mon Sep 17 00:00:00 2001
> Message-ID: <2f2b1a[email-masked]>
> From: Simon Tournier <[email-masked]>
> Date: Tue, 15 Apr 2025 17:57:00 +0200
> Subject: [PATCH] =?UTF-8?q?git:=20Move=20=E2=80=98core.autocrlf=E2=80=99?=
>  =?UTF-8?q?=20settings.?=
> MIME-Version: 1.0
> Content-Type: text/plain; charset=UTF-8
> Content-Transfer-Encoding: 8bit
>
> Follow up of b5e567bb2b277f89af493ba8cd0799fdb368a184.
>
> * guix/git.scm (clone*): Move ‘core.autocrlf’ settings from here...
> (update-cached-checkout): ...to here.
>
> Change-Id: I0f91d348376f9953cfbc497148596b738705818b

I was wondering whether ‘update-cached-checkout’ is too late for this,
but I think it should work: it’s right before the actual checkout.

Feel free to push.

Thanks,
Ludo’.