summaryrefslogtreecommitdiff
path: root/pip/vcs/git.py
diff options
context:
space:
mode:
authorDonald Stufft <donald@stufft.io>2015-03-16 13:57:41 -0400
committerDonald Stufft <donald@stufft.io>2015-03-16 13:57:41 -0400
commitfca91e1affacfdc601d062c880bc4f662bc6e82a (patch)
treebba9570544f82de197c9dd40c359beb2b6b6ad23 /pip/vcs/git.py
parente3e335d8e60ed9cd00dde7830bd8cce83703eeb4 (diff)
downloadpip-revert-2513-ssh_and_commit_support.tar.gz
Revert "#2414: parse SSH repositories url with a commit hash"revert-2513-ssh_and_commit_support
Diffstat (limited to 'pip/vcs/git.py')
-rw-r--r--pip/vcs/git.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/pip/vcs/git.py b/pip/vcs/git.py
index efb8b2869..d575f148a 100644
--- a/pip/vcs/git.py
+++ b/pip/vcs/git.py
@@ -195,8 +195,6 @@ class Git(VersionControl):
url = url.replace('ssh://', '')
else:
url, rev = super(Git, self).get_url_rev()
- # For explicit SSH URLs, remove 'ssh://' to clone
- url = url.replace('ssh://', '')
return url, rev