1
0
mirror of synced 2026-06-19 03:40:49 +00:00

Support specifing sparseCheckout in flux bootstrap

Signed-off-by: piny940 <83708535+piny940@users.noreply.github.com>
Assisted-by: claude/opus-4.7
This commit is contained in:
piny940
2026-05-29 13:28:30 +09:00
parent c438a10efc
commit 56166fd90c
8 changed files with 10 additions and 0 deletions
+1
View File
@@ -311,6 +311,7 @@ func bootstrapGitCmdRun(cmd *cobra.Command, args []string) error {
TargetPath: gitArgs.path.ToSlash(),
ManifestFile: sync.MakeDefaultOptions().ManifestFile,
RecurseSubmodules: bootstrapArgs.recurseSubmodules,
SparseCheckout: bootstrapArgs.sparseCheckout,
}
if gitProvider != "" {
syncOpts.Provider = gitProvider