From abb1e1f2a97a5c354d2cc6da2adb83ae6b66e338 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Thu, 13 Sep 2018 17:42:22 +0100 Subject: [PATCH] git: othercache --- templates/gitconfig.in | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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 <