We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f32ef97 commit 09d419fCopy full SHA for 09d419f
lib/scm/adapters/git/validation.rb
@@ -15,8 +15,10 @@ def normalize
15
self
16
end
17
18
- # Given a Github read-write URL, return a read-only URL.
19
- # Otherwise, return the original URL.
+ # Given a Github read-write URL, return a git protocol read-only URL
+ # Given a Github web URL, return a git protocol read-only URL
20
+ # Given a Git read-write protocol URL, return a git protocol read-only URL
21
+ # Else, return the URL
22
def normalize_url
23
case @url
24
when /^https?:\/\/\w+@github.com\/(.+)\.git$/
0 commit comments