Skip to content

Commit

Permalink
fix: don't fail on exotic git diff types (#3632)
Browse files Browse the repository at this point in the history
  • Loading branch information
Panaetius committed Oct 16, 2023
1 parent b19499a commit 160620c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion renku/infrastructure/repository.py
Expand Up @@ -1283,10 +1283,13 @@ class DiffChangeType(Enum):
"""Type of change in a ``Diff``."""

ADDED = "A"
COPIED = "C"
DELETED = "D"
RENAMED = "R"
MODIFIED = "M"
RENAMED = "R"
TYPE_CHANGED = "T"
UNMERGED = "U"
UNKNOWN = "X"


class Diff(NamedTuple):
Expand Down

0 comments on commit 160620c

Please sign in to comment.