Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions build/commands/lib/syncUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,10 @@ function syncChromium(program) {
args.push('--force')
}

if (program.bootstrap === false) {
args.push('--no-bootstrap')
}

if (program.history === false) {
args.push('--no-history')
}
Expand Down
5 changes: 5 additions & 0 deletions build/commands/scripts/sync.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ program
.option('--init', 'initialize all dependencies')
.option('--force', 'force reset all projects to origin/ref')
.option('--no-history', 'performs a shallow clone') // NOTE: sets program.history = false
.option('--no-bootstrap', "Don't bootstrap from Google Storage.")
.option('--fetch_all', 'fetch all tags and branch heads')
.option(
'-C, --sync_chromium [arg]',
Expand Down Expand Up @@ -58,6 +59,10 @@ function syncBrave(program) {
args.push('-D')
}

if (program.bootstrap === false) {
Comment thread
bridiver marked this conversation as resolved.
args.push('--no-bootstrap')
}
Comment thread
bridiver marked this conversation as resolved.

if (program.history === false) {
args.push('--no-history')
}
Expand Down
Loading