diff options
author | Anthony Fok <[email protected]> | 2023-02-03 05:02:35 -0700 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2023-02-03 14:57:53 +0100 |
commit | d4482e8bf48ead75fb275fdce29fd495f467e43c (patch) | |
tree | e10314a26ab355177a0b142fa93c1b2863777bba /snap | |
parent | 1477d0ba90acd3aa464556d95edab396a518016e (diff) | |
download | hugo-d4482e8bf48ead75fb275fdce29fd495f467e43c.tar.gz hugo-d4482e8bf48ead75fb275fdce29fd495f467e43c.zip |
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
Diffstat (limited to 'snap')
-rw-r--r-- | snap/snapcraft.yaml | 3 |
1 files changed, 2 insertions, 1 deletions
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 |