From 68e42834d0a1a9343af409b758972b0156be7ec4 Mon Sep 17 00:00:00 2001 From: Troels Thomsen Date: Fri, 19 Sep 2025 14:11:53 +0200 Subject: [PATCH] Avoid reading global Git configuration --- lib/pliny/commands/updater.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pliny/commands/updater.rb b/lib/pliny/commands/updater.rb index 4bd78135..d5b2d440 100644 --- a/lib/pliny/commands/updater.rb +++ b/lib/pliny/commands/updater.rb @@ -59,7 +59,7 @@ def get_current_version def save_patch(curr, target) # take a diff of changes that happened to the template app in Pliny - diff = `cd #{repo_dir} && git diff v#{curr}..v#{target} lib/template/` + diff = `cd #{repo_dir} && GIT_CONFIG_GLOBAL=/dev/null git diff v#{curr}..v#{target} lib/template/` # remove /lib/template from the path of files in the patch so that we can # apply these to the current folder