Comments (4)
Yes, I agree! I will see to add support for whatever that is - it's not pack V3 I think as that would fail gracefully elsewhere. It's surprising that older Git can handle this in a fashion that doesn't involve dying.
from helix.
Is there anything special about the git repository used in this project? From the backtrace it looks like gitoxide is having trouble parsing some of the git data
from helix.
CC @Byron
I think this is related to the sha-256 transisition. Maybe some new git versions now generate v3 pack files? It would be nice to support them but if gix can't do that for now not panicking and just emitting an error would be good.
from helix.
I have looked into this and couldn't find evidence of a new pack-entry type in the Git codebase.
It also looks like that Git will never write packs that aren't V2 - initially I thought it might write V3 based on some other criteria.
It seems what Git would do in this case is to mark the object as bad and fail to decode it. Now gitoxide
will fail gracefully here, but it will probably mean that some operations that rely on this object will fail, but it's better than panicking.
from helix.
Related Issues (20)
- Command line installer
- Find window color collision avoidance HOT 2
- Debounce tree-sitter parsing HOT 1
- Append after selection combines selections, when insert before selection doesn't HOT 1
- VHDL_libraries not found on windows for vhdl_ls LSP
- Alt-d is copying text before deleting it HOT 3
- Multicursor merges when entering insert mode via 'a' keystroke HOT 1
- Add automatic horizontal scroll to bufferline to follow current buffer HOT 1
- Windows Arm64 release? HOT 4
- The Prompt should use a `bar` cursor if the user has configured Insert mode to use a `bar` cursor
- File picker is really slow on huge projects HOT 4
- Failed to install helix via cargo
- Newlines are soft-wrapped to the next line when it is exactly one col past the character limit HOT 1
- Feature request: format files from command line
- Working directory is ignored in the fuzzy finder HOT 1
- Setting the prompt to a register value via C-r and tab includes the register name HOT 3
- Escape codes breaks helix HOT 1
- catppuccin themes need to be synced again
- Rust syntax highlighting compatibility with `rust-script`-style scripting.
- How to change health rust with lldb-dap in llvm for macos
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from helix.