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

Shallow clone fails with could not read from remote repository #5031

Open
ocharles opened this issue Dec 5, 2024 · 0 comments
Open

Shallow clone fails with could not read from remote repository #5031

ocharles opened this issue Dec 5, 2024 · 0 comments
Labels
🐛bug Something isn't working

Comments

@ocharles
Copy link

ocharles commented Dec 5, 2024

Description

I wanted to try out the new(ish) shallow clone support. Here's my terminal output:

/work 
❯ jj git clone --colocate --depth 64 [email protected]:REDACTED shallow
Fetching into new repo in "/home/ollie/work/shallow"
Error: could not read from remote repository; class=Net (12); code=Eof (-20)

~/work took 2s 
❯ jj git clone --colocate [email protected]:REDACTED shallow
Fetching into new repo in "/home/ollie/work/shallow"
 10%  13.7 MiB at   5.4 MiB/s [████████████ CRTL-C

I can confirm that both REDACTEDs are the same.

Expected Behavior

A shallow clone is created

Actual Behavior

I get an error: Error: could not read from remote repository; class=Net (12); code=Eof (-20).

Specifications

  • Platform: NixOS 24.11
  • Version: jj 0.23.0-e5de0fc74211c5ab15baba2621b1f2a1bca71e3b
@PhilipMetzger PhilipMetzger added the 🐛bug Something isn't working label Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants