From 3ae347a4289a6f429f81a44f127c841bde047564 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Sun, 3 Nov 2024 22:34:39 +0100 Subject: [PATCH] Change global `git` config as root --- scripts/lib/action.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/lib/action.fish b/scripts/lib/action.fish index f6144d63..092e9a55 100644 --- a/scripts/lib/action.fish +++ b/scripts/lib/action.fish @@ -17,7 +17,7 @@ function runAction -V dir and runHook prepareAction || true echo "Flagging repository as safe..." - git config --system --add safe.directory (realpath "$(status dirname)/../..") + sudo git config --system --add safe.directory (realpath "$(status dirname)/../..") and runHook preAction || true $argv