summaryrefslogtreecommitdiff
path: root/git-remote-testgit
diff options
context:
space:
mode:
authorLibravatar Felipe Contreras <felipe.contreras@gmail.com>2012-11-28 23:11:02 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-11-29 12:18:45 -0800
commit984f37681c937be0c7c1135e86141a83920edcc1 (patch)
treea64475c91c2afd08ac8a48ec6cee8a3bc34b3162 /git-remote-testgit
parentAdd new simplified git-remote-testgit (diff)
downloadtgif-984f37681c937be0c7c1135e86141a83920edcc1.tar.xz
remote-testgit: remove non-local functionality
This only makes sense for the python remote helpers framework. The tests don't exercise any feature of transport helper. Remove them. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-remote-testgit')
-rwxr-xr-xgit-remote-testgit3
1 files changed, 0 insertions, 3 deletions
diff --git a/git-remote-testgit b/git-remote-testgit
index 5042f5a11f..5117ab5fe0 100755
--- a/git-remote-testgit
+++ b/git-remote-testgit
@@ -4,9 +4,6 @@
alias=$1
url=$2
-# huh?
-url="${url#file://}"
-
dir="$GIT_DIR/testgit/$alias"
prefix="refs/testgit/$alias"
refspec="refs/heads/*:${prefix}/heads/*"