diff --git a/stdlib/git/git.cue b/stdlib/git/git.cue index 6babaacc..33de44c1 100644 --- a/stdlib/git/git.cue +++ b/stdlib/git/git.cue @@ -9,11 +9,17 @@ import ( remote: string ref: string + subdir: string | *"" #up: [ op.#FetchGit & { "remote": remote "ref": ref }, + if subdir != "" { + op.#Subdir & { + dir: subdir + } + }, ] }