From d320916e9f23603232ac84621078f7c0a1ab01aa Mon Sep 17 00:00:00 2001 From: Sam Alba Date: Tue, 13 Apr 2021 14:10:51 -0700 Subject: [PATCH] stdlib/git: added subdir arg Signed-off-by: Sam Alba --- stdlib/git/git.cue | 6 ++++++ 1 file changed, 6 insertions(+) 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 + } + }, ] }