Skip to content

parsing failure of invalid author/committer line - missing space before email #1438

Closed
@yuja

Description

@yuja

Current behavior 😯

Apparently, gix can't parse the following commit:
LibreOffice/core@eaa4e44

% git cat-file commit eaa4e44cfee19f81a3a3d41982263a3f09e23f06  
tree 220738fd4199e95a2b244465168366a73ebdf271
parent 209fbe2d632761b30b7b17422914e11b93692833
author Gregor Hartmann<gh <Gregor Hartmann<gh@openoffice.org>> 1282910542 +0200
committer Gregor Hartmann<gh <Gregor Hartmann<gh@openoffice.org>> 1282910542 +0200

build breakers

Originally reported to jj-vcs/jj#4008

Expected behavior 🤔

Recover from parsing error by default, or add option to do so? This is similar to #950 and #1322.

Git behavior

% git show eaa4e44cfee19f81a3a3d41982263a3f09e23f06
commit eaa4e44cfee19f81a3a3d41982263a3f09e23f06
Author: Gregor Hartmann <gh <Gregor Hartmann<gh@openoffice.org>
Date:   Fri Aug 27 14:02:22 2010 +0200
...

BTW, git fsck reports many errors in this repository. There might be other invalid patterns that gix can't parse.

Steps to reproduce 🕹

No response

Metadata

Metadata

Assignees

Labels

acknowledgedan issue is accepted as shortcoming to be fixed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions