chiark / gitweb /
Fixes to make zealot version come out nicely
[ian-dotfiles.git] / templates / gitconfig.in
index 78dee9960bf86b2edb8b189bc42525d06af7b6ae..cbdea8a5d75f1c926ca315def7dd2251521b1c51 100755 (executable)
@@ -14,12 +14,13 @@ esac
 
 cat <<END
 [user]
-       email="$email"
+       name = Ian Jackson
+       email = $email
 [sendemail]
-        bcc = $email
+       bcc = $email
 END
 
-case "$(hostname -f)" in
+case "$(hostname)" in
 zealot)
     cat <<END
        smtpdomain = zealot.relativity.greenend.org.uk
@@ -40,8 +41,11 @@ if [ "$cache" ]; then
         insteadOf = git://
 [url "$cache/git://"]
         insteadOf = $cache/git://
+END
+fi
+
+cat <<END
 [color]
        diff = false
        ui = false
 END
-fi