Skip to content
Open
Changes from all 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
9 changes: 8 additions & 1 deletion java/com/google/copybara/git/GitModule.java
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,12 @@ public GitModule(Options options) {
+ " fall back to the 'ref' param.\n"
+ "This is intended to help migrating to the new standard of using 'main'"
+ " without breaking users relying on the legacy default."),
@Param(
name = "enable_lfs",
defaultValue = "False",
named = true,
positional = false,
doc = "If true, Large File Storage support is enabled for the origin."),
@Param(
name = "credentials",
allowedTypes = {
Expand All @@ -332,6 +338,7 @@ public GitOrigin origin(
Object describeVersion,
Object versionSelector,
Boolean primaryBranchMigration,
Boolean enableLfs,
@Nullable Object credentials,
StarlarkThread thread)
throws EvalException {
Expand Down Expand Up @@ -370,7 +377,7 @@ public GitOrigin origin(
? githubPostSubmitApprovalsProvider(
fixedUrl, SkylarkUtil.convertOptionalString(ref), credentialHandler)
: approvalsProvider(url),
/* enableLfs= */ false,
enableLfs,
credentialHandler
);
}
Expand Down