Skip to content

Error parsing signed git commits #108

@madmatt

Description

@madmatt

gitlib throws an Exception when trying to parse a git commit that has been gpg signed. The exception message is:
[Error] Uncaught Gitonomy\Git\Exception\RuntimeException: Expected " ", but got "g" (gpgsig ---) /path/to/webroot/gitonomy/gitlib/src/Gitonomy/Git/Parser/ParserBase.php:111

Had a quick look through CommitParser.php and can't see anything there about GPG-signed commits. I'll try and write a patch for this, but in case I run out of time, I thought at least logging the issue would be good :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions