-
Notifications
You must be signed in to change notification settings - Fork 847
Open
Labels
🐛bugSomething isn't workingSomething isn't working
Description
Description
While working on a talk, I decided to throw the reveal.js project into a jj repo. It complained about some large files, and told me how to increase the size. I followed the instructions, and now it says "corrupt deflate stream".
I don't see this error reported anywhere, so I would like for some documentation to be produced on how to handle this situation.
Steps to Reproduce the Problem
$ jj status
Warning: Refused to snapshot some files:
img/rust-1.92-nightly.afphoto: 3.5MiB (3626073 bytes); the maximum size allowed is 1.0MiB (1048576 bytes)
img/xous-tier-status.afphoto: 1.6MiB (1698654 bytes); the maximum size allowed is 1.0MiB (1048576 bytes)
Hint: This is to prevent large files from being added by accident. You can fix this by:
- Adding the file to `.gitignore`
- Run `jj config set --repo snapshot.max-new-file-size 3626073`
This will increase the maximum file size allowed for new files, in this repository only.
- Run `jj --config snapshot.max-new-file-size=3626073 st`
This will increase the maximum file size allowed for new files, for this command only.
Working copy changes:
A img/hello-world-build.jpg
A img/hello-world-build.png
A img/rust-1.92-nightly.jpg
A img/xous-tier-status.jpg
M index.html
Untracked paths:
? img/rust-1.92-nightly.afphoto
? img/xous-tier-status.afphoto
Working copy (@) : xrnpsrlo 4bf3bb87 (no description set)
Parent commit (@-): qksxonxw fe79435c main | sean: fill in most except last section
$ jj --config snapshot.max-new-file-size=3626073 st
Working copy changes:
Internal error: Unexpected error from backend
Caused by:
1: Failure during rename tracking
2: An error occurred while obtaining an object from the loose object store
3: Could not deflate data at '/Users/seancross/Code/39c3-talk/.git/objects/07/8c9c3647229d8b1748013e724dcb5de0e2a5f9'
4: corrupt deflate stream
$ jj status
Working copy changes:
Internal error: Unexpected error from backend
Caused by:
1: Failure during rename tracking
2: An error occurred while obtaining an object from the loose object store
3: Could not deflate data at '/Users/seancross/Code/39c3-talk/.git/objects/07/8c9c3647229d8b1748013e724dcb5de0e2a5f9'
4: corrupt deflate stream
$
Expected Behavior
Ideally it wouldn't corrupt the deflate stream. Failing that, there should be documentation on how to deal with this issue.
Actual Behavior
The repo appears to be unusable now.
Specifications
- Platform: macOs
- Version:
jj 0.36.0-8c84656c36ace49b41349d7b0a645b1339210f7e
Metadata
Metadata
Assignees
Labels
🐛bugSomething isn't workingSomething isn't working