From: Simon Ruderich Date: Sun, 15 Jul 2018 08:12:24 +0000 (+0200) Subject: vcs: gitconfig: don't create .git/hooks in new repositories X-Git-Url: https://ruderich.org/simon/gitweb/?p=config%2Fdotfiles.git;a=commitdiff_plain;h=d5ab3d20a8ac183b9703a66d7164387fa598d268 vcs: gitconfig: don't create .git/hooks in new repositories The sample hooks are useless and just clutter a tree listing. --- diff --git a/vcs/gitconfig.in b/vcs/gitconfig.in index 3d3afce..1394a4b 100644 --- a/vcs/gitconfig.in +++ b/vcs/gitconfig.in @@ -1,6 +1,6 @@ # Global Git configuration file. -# Copyright (C) 2011-2017 Simon Ruderich +# Copyright (C) 2011-2018 Simon Ruderich # # This file is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -238,6 +238,11 @@ # Disable annoying advice messages. waitingForEditor = false +[init] + # Don't create .git/hooks with any sample hooks. Reduces the clutter + # in new git repositories. + templateDir = + # NON-GIT SETTINGS