File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ export async function installDotfiles(params: ResolverParameters, properties: Co
4343 await shellServer . exec ( `# Clone & install dotfiles via '${ installCommand } '
4444${ createFileCommand ( markerFile ) } || (echo dotfiles marker found && exit 1) || exit 0
4545command -v git >/dev/null 2>&1 || (echo git not found && exit 1) || exit 0
46- [ -e ${ targetPath } ] || ${ allEnv } git clone ${ repository } ${ targetPath } || exit $?
46+ [ -e ${ targetPath } ] || ${ allEnv } git clone --depth 1 ${ repository } ${ targetPath } || exit $?
4747echo Setting current directory to '${ targetPath } '
4848cd ${ targetPath }
4949
7474 await shellServer . exec ( `# Clone & install dotfiles
7575${ createFileCommand ( markerFile ) } || (echo dotfiles marker found && exit 1) || exit 0
7676command -v git >/dev/null 2>&1 || (echo git not found && exit 1) || exit 0
77- [ -e ${ targetPath } ] || ${ allEnv } git clone ${ repository } ${ targetPath } || exit $?
77+ [ -e ${ targetPath } ] || ${ allEnv } git clone --depth 1 ${ repository } ${ targetPath } || exit $?
7878echo Setting current directory to ${ targetPath }
7979cd ${ targetPath }
8080for f in ${ installCommands . join ( ' ' ) }
You can’t perform that action at this time.
0 commit comments