File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
java/com/google/copybara/git Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -307,6 +307,12 @@ public GitModule(Options options) {
307307 + " fall back to the 'ref' param.\n "
308308 + "This is intended to help migrating to the new standard of using 'main'"
309309 + " without breaking users relying on the legacy default." ),
310+ @ Param (
311+ name = "enable_lfs" ,
312+ defaultValue = "False" ,
313+ named = true ,
314+ positional = false ,
315+ doc = "If true, Large File Storage support is enabled for the origin." ),
310316 @ Param (
311317 name = "credentials" ,
312318 allowedTypes = {
@@ -332,6 +338,7 @@ public GitOrigin origin(
332338 Object describeVersion ,
333339 Object versionSelector ,
334340 Boolean primaryBranchMigration ,
341+ Boolean enableLfs ,
335342 @ Nullable Object credentials ,
336343 StarlarkThread thread )
337344 throws EvalException {
@@ -370,7 +377,7 @@ public GitOrigin origin(
370377 ? githubPostSubmitApprovalsProvider (
371378 fixedUrl , SkylarkUtil .convertOptionalString (ref ), credentialHandler )
372379 : approvalsProvider (url ),
373- /* enableLfs= */ false ,
380+ enableLfs ,
374381 credentialHandler
375382 );
376383 }
You can’t perform that action at this time.
0 commit comments