chiark / gitweb /
Fix up gitconfig template
[ian-dotfiles.git] / templates / gitconfig.in
index 7e874d2f2ec960ad416c5d3446b9ca85cc39b0d3..78dee9960bf86b2edb8b189bc42525d06af7b6ae 100755 (executable)
@@ -19,6 +19,21 @@ cat <<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://"]
@@ -26,7 +41,7 @@ if [ "$cache" ]; then
 [url "$cache/git://"]
         insteadOf = $cache/git://
 [color]
-        diff = false
-        ui = false
+       diff = false
+       ui = false
 END
 fi