Skip to content

Correctly retrieve commit metadata for empty changes #37

@jnareb

Description

@jnareb

Currently for a commit with no changes from the first parent ChangeSet.__init__ does not retrieve correctly the commit metadata, because it does not find where diff begins - as there isn't one.

Additionally, for empty changes, ensure that 'diff_metadata' and 'changes' key exists, and lead to empty mapping ({}).

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingworkaroundNot a proper bugfix, but makes things work

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions