From 160620c447f1ab7f6935ef63e3f92437c7537f98 Mon Sep 17 00:00:00 2001 From: Ralf Grubenmann Date: Mon, 16 Oct 2023 08:53:54 +0200 Subject: [PATCH] fix: don't fail on exotic git diff types (#3632) --- renku/infrastructure/repository.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/renku/infrastructure/repository.py b/renku/infrastructure/repository.py index 8a99c9bc8b..5ebf80523c 100644 --- a/renku/infrastructure/repository.py +++ b/renku/infrastructure/repository.py @@ -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):