From d5ab3d20a8ac183b9703a66d7164387fa598d268 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sun, 15 Jul 2018 10:12:24 +0200 Subject: [PATCH] vcs: gitconfig: don't create .git/hooks in new repositories The sample hooks are useless and just clutter a tree listing. --- vcs/gitconfig.in | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 -- 2.45.2