chiark / gitweb /
Fixes to make zealot version come out nicely
[ian-dotfiles.git] / templates / gitconfig.in
index 78dee99..cbdea8a 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