chiark / gitweb /
vtwmrc: Introduce ${vtwmpager}
[ian-dotfiles.git] / templates / gitconfig.in
index 7e874d2f2ec960ad416c5d3446b9ca85cc39b0d3..f645c590c070564a092d82acb4b1f09f1dbebc41 100755 (executable)
@@ -8,25 +8,59 @@ case "$(hostname -f)" in
     cache=git://git-cache.xs.citrite.net:9419
     ;;
 *)
+    cache=git://localhost:9419
     email=ijackson@chiark.greenend.org.uk
     ;;
 esac
 
 cat <<END
 [user]
-       email="$email"
+       name = Ian Jackson
+       email = $email
 [sendemail]
-        bcc = $email
+       bcc = $email
 END
 
+case "$(hostname)" 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
+[gui]
+       fontui = -family \"DejaVu Sans\" -size 11 -weight normal -slant roman -underline 0 -overstrike 0
+       fontdiff = -family \"DejaVu Sans Mono\" -size 11 -weight normal -slant roman -underline 0 -overstrike 0
+[url "git://git.kernel.org/"]
+       insteadOf = git://git.kernel.org/
+[url "git://xenbits.xen.org/linux-pvops.git"]
+       insteadOf = git://xenbits.xen.org/linux-pvops.git
+END
+    ;;
+esac
+
 if [ "$cache" ]; then
     cat <<END
 [url "$cache/git://"]
         insteadOf = git://
 [url "$cache/git://"]
         insteadOf = $cache/git://
-[color]
-        diff = false
-        ui = false
 END
 fi
+
+cat <<END
+[color]
+       diff = false
+       ui = false
+[merge]
+       conflictStyle = diff3
+[branch]
+       autoSetupMerge = false
+[dgit "default"]
+       clean-mode = git
+       build-products-dir = ../bpd
+END