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
This commit is contained in:
Anthony Fok authored and Bjørn Erik Pedersen committed 2023-02-03 14:57:53 +01:00
1 parent 1477d0ba90
commit d4482e8bf4
1 file changed
+2 -1
+2 -1
View File
@@ -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