File tree 1 file changed +8
-1
lines changed
java/com/google/copybara/git
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) {
307
307
+ " fall back to the 'ref' param.\n "
308
308
+ "This is intended to help migrating to the new standard of using 'main'"
309
309
+ " 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." ),
310
316
@ Param (
311
317
name = "credentials" ,
312
318
allowedTypes = {
@@ -332,6 +338,7 @@ public GitOrigin origin(
332
338
Object describeVersion ,
333
339
Object versionSelector ,
334
340
Boolean primaryBranchMigration ,
341
+ Boolean enableLfs ,
335
342
@ Nullable Object credentials ,
336
343
StarlarkThread thread )
337
344
throws EvalException {
@@ -370,7 +377,7 @@ public GitOrigin origin(
370
377
? githubPostSubmitApprovalsProvider (
371
378
fixedUrl , SkylarkUtil .convertOptionalString (ref ), credentialHandler )
372
379
: approvalsProvider (url ),
373
- /* enableLfs= */ false ,
380
+ enableLfs ,
374
381
credentialHandler
375
382
);
376
383
}
You can’t perform that action at this time.
0 commit comments