From 629aeec580389b9e583d24123859d382783be16a Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 16 Sep 2025 13:27:01 -0400 Subject: [PATCH] use giveup not error This is not debugging a git-annex bug, so no stack trace needed. --- Annex/SpecialRemote/Config.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Annex/SpecialRemote/Config.hs b/Annex/SpecialRemote/Config.hs index 925b7e837c..c8339489ac 100644 --- a/Annex/SpecialRemote/Config.hs +++ b/Annex/SpecialRemote/Config.hs @@ -210,7 +210,7 @@ getRemoteConfigValue f (ParsedRemoteConfig m _) = case M.lookup f m of -- Handle the case where an external special remote -- tries to SETCONFIG a value belonging to git-annex, -- resulting in a PassedThrough type being stored. - Just _ -> error $ unwords + Just _ -> giveup $ unwords [ "Special remote config " , fromProposedAccepted f , "has been overwritten by SETCONFIG." -- 2.30.2