From c3e4b42c98dd433bbc2f90beeae102a4993c17e5 Mon Sep 17 00:00:00 2001 From: Malfurious Date: Wed, 13 Sep 2023 04:18:16 -0400 Subject: gitolite: Consolidate config files into a single directory The repository is being reworked to decouple its roles as normalmode source and gitolite-admin config. The gitolite-admin repository will be entirely separate. So there is no need to keep the conf or local directories around where they are at. Signed-off-by: Malfurious --- gitolite/dotfiles/.gitconfig | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 gitolite/dotfiles/.gitconfig (limited to 'gitolite/dotfiles/.gitconfig') diff --git a/gitolite/dotfiles/.gitconfig b/gitolite/dotfiles/.gitconfig new file mode 100644 index 0000000..a998fec --- /dev/null +++ b/gitolite/dotfiles/.gitconfig @@ -0,0 +1,6 @@ +[init] + defaultBranch = master +[user] + useConfigOnly = true + name = gitolite + email = gitolite -- cgit v1.2.3 From 5756572b09a78541d9d0d9fc6b21a6c006a99894 Mon Sep 17 00:00:00 2001 From: Malfurious Date: Fri, 15 Sep 2023 05:48:40 -0400 Subject: gitolite: Allow users to delete remote HEAD branches This allows the branch considered the repo default to be deleted via push. I'm not totally opposed to allowing this, even though it's not entirely necessary. However, the ability to do this is now required by the docker image entrypoint script. Signed-off-by: Malfurious --- gitolite/dotfiles/.gitconfig | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gitolite/dotfiles/.gitconfig') diff --git a/gitolite/dotfiles/.gitconfig b/gitolite/dotfiles/.gitconfig index a998fec..6e33a9e 100644 --- a/gitolite/dotfiles/.gitconfig +++ b/gitolite/dotfiles/.gitconfig @@ -4,3 +4,5 @@ useConfigOnly = true name = gitolite email = gitolite +[receive] + denyDeleteCurrent = warn -- cgit v1.2.3