chiark / gitweb /
git: cache insteadof disable for all protocols
authorIan Jackson <ian.jackson@eu.citrix.com>
Thu, 13 Sep 2018 16:41:29 +0000 (17:41 +0100)
committerIan Jackson <ian.jackson@eu.citrix.com>
Thu, 13 Sep 2018 16:41:29 +0000 (17:41 +0100)
templates/gitconfig.in

index f645c59..aa2dd68 100755 (executable)
@@ -47,8 +47,8 @@ if [ "$cache" ]; then
     cat <<END
 [url "$cache/git://"]
         insteadOf = git://
-[url "$cache/git://"]
-        insteadOf = $cache/git://
+[url "$cache/"]
+        insteadOf = $cache/
 END
 fi