From 82a3ee87e65e7c8dcbfe5d9f40459151a4b1a1d7 Mon Sep 17 00:00:00 2001 From: "liyao.ryan" Date: Mon, 30 Aug 2021 19:09:02 +0800 Subject: [PATCH] Squashed commit of the following: commit 2c166ac44fa67e98a53594903c2bd9407fe04789 Author: Whirlwind Date: Mon Aug 30 18:50:02 2021 +0800 [Fixed] Support subgroup for gitlab --- Native/MBoxWorkspace/CLI/Go.swift | 2 +- Native/MBoxWorkspaceCore/Model/MBConfig.Repo.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Native/MBoxWorkspace/CLI/Go.swift b/Native/MBoxWorkspace/CLI/Go.swift index 7884069..4688770 100644 --- a/Native/MBoxWorkspace/CLI/Go.swift +++ b/Native/MBoxWorkspace/CLI/Go.swift @@ -17,7 +17,7 @@ extension MBCommander { } open override class var description: String? { - return "Quckly open workspace." + return "Quickly open path or workspace." } open override class func autocompletion(argv: ArgumentParser) -> [String] { diff --git a/Native/MBoxWorkspaceCore/Model/MBConfig.Repo.swift b/Native/MBoxWorkspaceCore/Model/MBConfig.Repo.swift index 04cbb2d..83c8358 100644 --- a/Native/MBoxWorkspaceCore/Model/MBConfig.Repo.swift +++ b/Native/MBoxWorkspaceCore/Model/MBConfig.Repo.swift @@ -261,7 +261,7 @@ extension MBConfig { } if let gitURL = gitURL { self.url = gitURL.url - fullName ?= gitURL.project + "@" + gitURL.group + fullName ?= gitURL.project + "@" + gitURL.groups.reversed().joined(separator: "@") } if fullName == nil, let path = path { fullName = path.lastPathComponent