[tor-commits] [dip/master] Update git config with values set by upstream

hiro at torproject.org hiro at torproject.org
Thu Dec 19 15:30:34 UTC 2019


commit 472924143c33a1737b12ad2c5910698757f5b7e6
Author: Bastian Blank <waldi at debian.org>
Date:   Thu Dec 12 19:19:14 2019 +0100

    Update git config with values set by upstream
---
 roles/gitaly/templates/gitconfig.j2 | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/roles/gitaly/templates/gitconfig.j2 b/roles/gitaly/templates/gitconfig.j2
index 263e29f..36fd9a8 100644
--- a/roles/gitaly/templates/gitconfig.j2
+++ b/roles/gitaly/templates/gitconfig.j2
@@ -1,5 +1,6 @@
 [core]
-  autocrlf = input
+  alternateRefsCommand = "exit 0 #"
+  fsyncObjectFiles = true
 [fsck]
   badDate = ignore
   badEmail = ignore
@@ -15,8 +16,13 @@
   threads = 1
 [receive]
   advertisePushOptions = true
+  fsckObjects = true
 [repack]
   writeBitmaps = true
+[transfer]
+  hideRefs = ^refs/tmp/
+  hideRefs = ^refs/keep-around/
+  hideRefs = ^refs/remotes/
 [user]
   email = git@{{ external_domain }}
   name = GIT





More information about the tor-commits mailing list