From 2e9b6b533301f2bbf03104e8b27b6e6df0c3dcdf Mon Sep 17 00:00:00 2001 From: Lin Jen-Shin Date: Tue, 13 Feb 2018 23:45:15 +0800 Subject: Add a comment about why @ is picked for ssh --- qa/qa/page/project/show.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'qa') diff --git a/qa/qa/page/project/show.rb b/qa/qa/page/project/show.rb index 834a36c4bd0..8d4a8c51184 100644 --- a/qa/qa/page/project/show.rb +++ b/qa/qa/page/project/show.rb @@ -26,6 +26,9 @@ module QA 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 -- cgit v1.2.1