chiark
/
gitweb
/
~ian
/
ian-dotfiles.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ccd715d
)
Fixes to make zealot version come out nicely
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Mon, 13 Jun 2016 11:46:31 +0000
(12:46 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Mon, 13 Jun 2016 11:49:43 +0000
(12:49 +0100)
templates/gitconfig.in
patch
|
blob
|
history
diff --git
a/templates/gitconfig.in
b/templates/gitconfig.in
index 78dee9960bf86b2edb8b189bc42525d06af7b6ae..cbdea8a5d75f1c926ca315def7dd2251521b1c51 100755
(executable)
--- a/
templates/gitconfig.in
+++ b/
templates/gitconfig.in
@@
-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