[gnome-builder/wip/gtk4-port] plugins/git: handle various missing enums
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/gtk4-port] plugins/git: handle various missing enums
- Date: Fri, 3 Jun 2022 17:16:43 +0000 (UTC)
commit 57646af0754169dbf3804c82a0d202990456dbdb
Author: Christian Hergert <chergert redhat com>
Date: Fri Jun 3 09:49:59 2022 -0700
plugins/git: handle various missing enums
src/plugins/git/daemon/ipc-git-repository-impl.c | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/src/plugins/git/daemon/ipc-git-repository-impl.c
b/src/plugins/git/daemon/ipc-git-repository-impl.c
index 50f5d9c2b..65e30dc93 100644
--- a/src/plugins/git/daemon/ipc-git-repository-impl.c
+++ b/src/plugins/git/daemon/ipc-git-repository-impl.c
@@ -124,6 +124,7 @@ translate_status (GgitStatusFlags flags)
case GGIT_STATUS_INDEX_TYPECHANGE:
case GGIT_STATUS_WORKING_TREE_MODIFIED:
case GGIT_STATUS_WORKING_TREE_TYPECHANGE:
+ case GGIT_STATUS_CONFLICTED:
return FILE_STATUS_CHANGED;
case GGIT_STATUS_IGNORED:
@@ -132,6 +133,8 @@ translate_status (GgitStatusFlags flags)
case GGIT_STATUS_CURRENT:
return FILE_STATUS_UNCHANGED;
+ case GGIT_STATUS_WORKING_TREE_RENAMED:
+ case GGIT_STATUS_WORKING_TREE_UNREADABLE:
default:
return FILE_STATUS_UNTRACKED;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]