]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - vcs/gitconfig.in
vcs: gitconfig: don't execute arbitrary commands from embedded bare repositories
[config/dotfiles.git] / vcs / gitconfig.in
index 7476a829397b259d6a28f8c15674c63ec66b1a01..9efa88498075b078b7cdbd84a85667574700419e 100644 (file)
        # 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