From 758d01ff1ebd4b116926a30706c536b3968a6d50 Mon Sep 17 00:00:00 2001 From: Lucas Wilson-Richter Date: Sun, 18 Aug 2024 21:37:25 +1000 Subject: [PATCH] fcl: Parse more repo urls --- fcl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fcl b/fcl index ae2585d..12c9008 100755 --- a/fcl +++ b/fcl @@ -42,8 +42,8 @@ def repo_url(repo_str) # GitHub HTTPS. We like these, use it as-is. when /^(git|https)\:\/\/github\.com\// repo_str - # Other HTTPS. Assume it's fine? - when /^https\:\/\// + # Some other HTTPS. This is probably fine too, as long as it ends with '.git' + when /^(git|https)\:\/\/.+\.git$/ repo_str # GitHub SSH. Let's convert this to HTTPS. when /^git@github\.com\:.+\.git$/