git pull seem to corrupt my project
See original GitHub issueHi,
I’m using isomorphic-git for a Node.js CLI tool. We have a feature on that CLI that try to update the master branch when the commits on the remote is ahead of the local branch.
Everything execute with no errors, but when we go in the repository every git commands fail with a message like this one:
error: failed to validate delta base reference at offset 490 from .git/objects/pack/pack-31ef631484b7c201abb5edb1cd84209653789b00.pack
fatal: packed object 33f32f92c45cfb866118b8c61fc002cfe85ff6dd (stored in .git/objects/pack/pack-31ef631484b7c201abb5edb1cd84209653789b00.
pack) is corrupt
Our project is open so you can take a look at the code and even install/link the CLI.
The code that call the pullMaster method: https://github.com/SlimIO/Sync/blob/master/commands/install.js#L118
The pullMaster code (with the git.pull … by the way the method work well after a clone). https://github.com/SlimIO/Sync/blob/master/src/utils.js#L183
The package is at the latest version, we tried with Node 10 and Node 12. And i’m on Windows 10.
Best Regards, Thomas
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:6 (3 by maintainers)
Top GitHub Comments
Hi,
Yes. Seem to work fine on my side now with the latest version.
Thanks for your work !
Best Regards, Thomas
I think this is fixed now.