Skip to content

if diff has no patches. diff.patch return GitError #232

Closed
@alexband

Description

@alexband

if I got a Diff, but there is not patches

so

[patch  for patch in diff] is []

then call diff.patch will raise GitError

might it return empty string '' ?

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