From d4482e8bf48ead75fb275fdce29fd495f467e43c Mon Sep 17 00:00:00 2001 From: Anthony Fok Date: Fri, 3 Feb 2023 05:02:35 -0700 Subject: [PATCH] snap: Add read access for ~/.gitconfig.local and ~/.config/git/* too in hugo:gitconfig plug (personal-files interface) in case end users need the flexibility of using additional custom git config files. Fixes #10337 --- snap/snapcraft.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index c09eb98ae..00ccc8abd 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -28,7 +28,8 @@ plugs: interface: personal-files read: - $HOME/.gitconfig - - $HOME/.config/git/config + - $HOME/.config/git # Allows $HOME/.config/git/config and more + - $HOME/.gitconfig.local # See #10337 environment: HOME: $SNAP_REAL_HOME