From: Ian Jackson Date: Thu, 13 Sep 2018 16:42:22 +0000 (+0100) Subject: git: othercache X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;ds=sidebyside;h=abb1e1f2a97a5c354d2cc6da2adb83ae6b66e338;hp=f4eed77975afcdfbc6b1115a7bcffb2acd4cbe13;p=ian-dotfiles.git git: othercache --- diff --git a/templates/gitconfig.in b/templates/gitconfig.in index aa2dd68..211e36c 100755 --- a/templates/gitconfig.in +++ b/templates/gitconfig.in @@ -6,6 +6,7 @@ case "$(hostname -f)" in *.xensource.com) email="ian.jackson@eu.citrix.com" cache=git://git-cache.xs.citrite.net:9419 + othercache=drall:9419 ;; *) cache=git://localhost:9419 @@ -50,6 +51,18 @@ if [ "$cache" ]; then [url "$cache/"] insteadOf = $cache/ END + + if [ "$othercache" ]; then + cat <