Skip to content

Commit 160620c

Browse files
authored
fix: don't fail on exotic git diff types (#3632)
1 parent b19499a commit 160620c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

renku/infrastructure/repository.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1283,10 +1283,13 @@ class DiffChangeType(Enum):
12831283
"""Type of change in a ``Diff``."""
12841284

12851285
ADDED = "A"
1286+
COPIED = "C"
12861287
DELETED = "D"
1287-
RENAMED = "R"
12881288
MODIFIED = "M"
1289+
RENAMED = "R"
12891290
TYPE_CHANGED = "T"
1291+
UNMERGED = "U"
1292+
UNKNOWN = "X"
12901293

12911294

12921295
class Diff(NamedTuple):

0 commit comments

Comments
 (0)