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 f645c590c070564a092d82acb4b1f09f1dbebc41..aa2dd68f2f8e8e61ad06e16735823491dce5b42d 100755 (executable)
@@ -47,8 +47,8 @@ if [ "$cache" ]; then
     cat <<END
 [url "$cache/git://"]
         insteadOf = git://
     cat <<END
 [url "$cache/git://"]
         insteadOf = git://
-[url "$cache/git://"]
-        insteadOf = $cache/git://
+[url "$cache/"]
+        insteadOf = $cache/
 END
 fi
 
 END
 fi