X-Git-Url: https://ruderich.org/simon/gitweb/?p=config%2Fdotfiles.git;a=blobdiff_plain;f=vcs%2Fgitconfig.in;fp=vcs%2Fgitconfig.in;h=9efa88498075b078b7cdbd84a85667574700419e;hp=7476a829397b259d6a28f8c15674c63ec66b1a01;hb=3138bd7b544741e53192553e530186133f6b5847;hpb=7adece76ae1a6452248f2d2d26d1d5f21b0f38f6 diff --git a/vcs/gitconfig.in b/vcs/gitconfig.in index 7476a82..9efa884 100644 --- a/vcs/gitconfig.in +++ b/vcs/gitconfig.in @@ -254,6 +254,11 @@ # Sort tags as version numbers sort = version:refname +[safe] + # Ignore embedded bare repositories to prevent executing arbitrary + # commands from untrusted repositories + bareRepository = explicit + # NON-GIT SETTINGS