Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request - option flag with "--filter=blob:none" to clone repo #152

Closed
yanhong-tech opened this issue Apr 18, 2024 · 1 comment
Closed
Labels
enhancement New feature or request git-xargs

Comments

@yanhong-tech
Copy link

Describe the solution you'd like

When we clone the repo, repo has the fetch-pack: unexpected disconnect while reading sideband packet fatal: early EOF fatal: fetch-pack:invalid index-pack output error.
So our solution for the reposition clone is git clone --filter=blob:none <url> refer to here

Now when using this git-xargs tool, the step clone the repo failure with

Error cloning repository 
Error encountered while processing repo "unexpected EOF"

so can we have this flag --filter=blob:none add for git options to clone the repo?

Thanks!

@yanhong-tech yanhong-tech added the enhancement New feature or request label Apr 18, 2024
@ZachGoldberg ZachGoldberg added the git-xargs label Apr 18, 2024 — with Linear
@autero1
Copy link

autero1 commented Apr 21, 2024

Looks like go-git doesn't support that for now: go-git/go-git#713

@linear linear bot closed this as not planned Won't fix, can't repro, duplicate, stale Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request git-xargs
Projects
None yet
Development

No branches or pull requests

3 participants