rust-lang / git2-rs

libgit2 bindings for Rust
https://docs.rs/git2
Apache License 2.0
1.67k stars 384 forks source link

Add support for GIT_FILEMODE_BLOB_GROUP_WRITABLE #887

Closed malor closed 1 year ago

malor commented 1 year ago

This type no longer exists in modern git, but there are existing git repositories out there with tree entries of this type (e.g. Linux kernel). Currently, traversing commits of a repository like that leads to a panic in DiffFile::mode().