Skip to content

Add lfs support to GitHub pr origin - #353

Open
mbeards wants to merge 1 commit into
google:masterfrom
mbeards:add-lfs-support-github-pr-origin
Open

Add lfs support to GitHub pr origin#353
mbeards wants to merge 1 commit into
google:masterfrom
mbeards:add-lfs-support-github-pr-origin

Conversation

@mbeards

@mbeards mbeards commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Enable Git Large File Storage (LFS) support for GitHub Pull Request origins by adding the enable_lfs parameter to git.github_pr_origin and configuring the remote origin URL when enabled.

Enable Git Large File Storage (LFS) support for GitHub Pull Request origins by adding the enable_lfs parameter to git.github_pr_origin and configuring the remote origin URL when enabled.

TAG=agy
CONV=c2687e25-90b3-43ac-9e4a-4b6faa3c33a3
@mbeards
mbeards force-pushed the add-lfs-support-github-pr-origin branch from 6ca04c2 to f4b49bc Compare August 11, 2026 20:26
@VisibleForTesting
public GitRepository getRepository() throws RepoException {
GitRepository repo = gitOptions.cachedBareRepoForUrl(url);
if (enableLfs) {

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we actually need this? (Seems required to figure out where to fetch from.)

@mbeards
mbeards marked this pull request as ready for review August 11, 2026 20:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant