gix
fails to decode commit object that git
has no trouble with
#950
Labels
acknowledged
an issue is accepted as shortcoming to be fixed
Duplicates
Current behavior 😯
In developing Nosey Parker, which uses
gix
for picking apart Git repositories, I have discovered a commit object in the wild thatgix
fails to decode, but thatgit
has no trouble with.The commit in question is this: boto/boto@c1eddff.
It looks like some funny formatting of the committer timestamp timezone disagrees with
gix
.A couple error message log output from my dev copy of Nosey Parker:
The commit as dumped by
git
:Expected behavior 🤔
gix
should successfully decode this commit object data to match the behavior ofgit
.Steps to reproduce 🕹
gix
, open the repository, get the repository's odb, and then useodb.find_commit(ObjectId::from_hex("c1eddff4ee3f62b6039f1083651b9118883e7f07".as_bytes()))
Err
result, when the commit should probably decode successfully instead.I tested this with
gix = { version = "0.50", features = ["max-performance"] }
andgix-object = { version = "0.33", features = ["verbose-object-parsing-errors"] }
.The text was updated successfully, but these errors were encountered: