chiark / gitweb /
Fix up gitconfig template
authorIan Jackson <ian.jackson@eu.citrix.com>
Fri, 10 Jun 2016 17:59:15 +0000 (18:59 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Fri, 10 Jun 2016 17:59:15 +0000 (18:59 +0100)
templates/gitconfig.in

index 7e874d2f2ec960ad416c5d3446b9ca85cc39b0d3..78dee9960bf86b2edb8b189bc42525d06af7b6ae 100755 (executable)
@@ -19,6 +19,21 @@ cat <<END
         bcc = $email
 END
 
         bcc = $email
 END
 
+case "$(hostname -f)" in
+zealot)
+    cat <<END
+       smtpdomain = zealot.relativity.greenend.org.uk
+       smtpserver = tunnel.chiark.greenend.org.uk
+       smtpserverport = 25
+       envelopesender = $email
+       bcc = $email
+[dgit-distro "debian"]
+       username = iwj
+       keyid = 0x48B50D39
+END
+    ;;
+esac
+
 if [ "$cache" ]; then
     cat <<END
 [url "$cache/git://"]
 if [ "$cache" ]; then
     cat <<END
 [url "$cache/git://"]
@@ -26,7 +41,7 @@ if [ "$cache" ]; then
 [url "$cache/git://"]
         insteadOf = $cache/git://
 [color]
 [url "$cache/git://"]
         insteadOf = $cache/git://
 [color]
-        diff = false
-        ui = false
+       diff = false
+       ui = false
 END
 fi
 END
 fi