Skip to content

Commit

Permalink
Add a comment about why @ is picked for ssh
Browse files Browse the repository at this point in the history
  • Loading branch information
godfat committed Feb 13, 2018
1 parent de484c6 commit 2e9b6b5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions qa/qa/page/project/show.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ def choose_repository_clone_http
end

def choose_repository_clone_ssh
# It's not always beginning with ssh:// so detecting with @
# would be more reliable because ssh would always contain it.
# We can't use .git because HTTP also contain that part.
choose_repository_clone('SSH', '@')
end

Expand Down

0 comments on commit 2e9b6b5

Please sign in to comment.