fix: cloned repository was not added into repository tree

Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
leo
2025-07-18 10:32:03 +08:00
parent 8989da7538
commit 69d6e5e29a

View File

@@ -106,7 +106,7 @@ namespace SourceGit.ViewModels
var succ = await new Commands.Clone(_pageId, _parentFolder, _remote, _local, _useSSH ? _sshKey : "", _extraArgs)
.Use(log)
.ExecAsync();
if (succ)
if (!succ)
return false;
var path = _parentFolder;