From d3c3e3e2f0b5ad41e1f46ecd64107e290ab983f4 Mon Sep 17 00:00:00 2001 From: 0x1eef <0x1eef@protonmail.com> Date: Sun, 30 Jun 2024 02:59:02 -0300 Subject: [PATCH] Bump diff.renameLimit After a successful clone, we set the configuration knob 'diff.renameList' to 7000. This change is made after observing a warning about the value being too low. --- libexec/portzap/commands/portzap-clone | 1 + 1 file changed, 1 insertion(+) diff --git a/libexec/portzap/commands/portzap-clone b/libexec/portzap/commands/portzap-clone index 222ef5f..1cc3e64 100755 --- a/libexec/portzap/commands/portzap-clone +++ b/libexec/portzap/commands/portzap-clone @@ -45,6 +45,7 @@ set -x gitexec "clone ${giturl} ${gitdir}" cd "${gitdir}" gitexec "config core.filemode off" +gitexec "config diff.renameList 7000" set +x set +e gitexec "checkout -t origin/${branch} > /dev/null 2>&1"