-
Notifications
You must be signed in to change notification settings - Fork 136
KBFS file size limit of 512 KiB breaks git-remote-keybase #1695
Comments
That limit is on the directory size (filenames + metadata), not on individual files, so a repack should work fine. (There's also a Annoying that you hit that though, I've never seen git do that before. It's on our list of things to improve, maybe we should prioritize it soon. |
Hmm, I ran that command and now am getting on push "git-remote-keybase error: (1) malformed packed-ref". So I went to my repo, and ran
And sure enough, there's a line like that in HEAD. I don't know how it got there, but I've removed it for now and I'm trying the push again. |
When I attempt to push again, it seems to send a bunch of notifications:
After several minutes of that, I see the original error in the logs. |
The original error being the size limit one? Hrmm. Are you just trying to push a single commit? Or are you trying to push a complete repo with a bunch of branches, etc in it already? A |
Log ID: 5d364409b51a5bb3c7441a1c. |
The logs don't really show anything interesting besides the error you already mentioned. What does If it shows more than one file, maybe you can try (Substitute |
It doesn't seem to have reduced the number of packs at all. |
I was able to work around this by deleting and re-creating the Keybase repo, running |
While pushing my repository today I discovered the following issue:
I tried to fix this by running
git repack --max-pack-size=512k -a
, but Git warns that the minimum pack file size is 1 MiB.The text was updated successfully, but these errors were encountered: