gittools
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
module gittools
|
||||
|
||||
import freeflowuniverse.herolib.ui.console
|
||||
import freeflowuniverse.herolib.osal
|
||||
|
||||
import os
|
||||
|
||||
@[params]
|
||||
@@ -31,7 +31,7 @@ pub fn (mut gitstructure GitStructure) clone(args GitCloneArgs) !&GitRepo {
|
||||
parent_dir := repo.get_parent_dir(create: true)!
|
||||
|
||||
mut extra := ''
|
||||
if gitstructure.config.light {
|
||||
if gitstructure.config()!.light {
|
||||
extra = '--depth 1 --no-single-branch '
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user