From: Joey Hess Date: Tue, 16 Sep 2025 17:27:01 +0000 (-0400) Subject: use giveup not error X-Git-Tag: archive/raspbian/10.20251029-1+rpi1~1^2~3^2~97 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=629aeec580389b9e583d24123859d382783be16a;p=git-annex.git use giveup not error This is not debugging a git-annex bug, so no stack trace needed. --- 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."