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:
7b7c626
)
Fix up gitconfig template
author
Ian Jackson
<ian.jackson@eu.citrix.com>
Fri, 10 Jun 2016 17:59:15 +0000
(18:59 +0100)
committer
Ian Jackson
<Ian.Jackson@eu.citrix.com>
Fri, 10 Jun 2016 17:59:15 +0000
(18:59 +0100)
templates/gitconfig.in
patch
|
blob
|
history
diff --git
a/templates/gitconfig.in
b/templates/gitconfig.in
index 7e874d2f2ec960ad416c5d3446b9ca85cc39b0d3..78dee9960bf86b2edb8b189bc42525d06af7b6ae 100755
(executable)
--- a/
templates/gitconfig.in
+++ b/
templates/gitconfig.in
@@
-19,6
+19,21
@@
cat <<END
bcc = $email
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://"]
if [ "$cache" ]; then
cat <<END
[url "$cache/git://"]
@@
-26,7
+41,7
@@
if [ "$cache" ]; then
[url "$cache/git://"]
insteadOf = $cache/git://
[color]
[url "$cache/git://"]
insteadOf = $cache/git://
[color]
-
diff = false
-
ui = false
+ diff = false
+ ui = false
END
fi
END
fi