From 2c68c801969c1cf713d9bef8925d6c2580d8730f Mon Sep 17 00:00:00 2001 From: Orgad Shaneh Date: Sun, 10 Feb 2013 22:22:40 +0200 Subject: Git: Make file state resolving more accurate Change-Id: I238ef964df126a341c87dacf9344ff1570f31845 Reviewed-by: Tobias Hunger --- src/plugins/git/commitdata.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/plugins/git/commitdata.h') diff --git a/src/plugins/git/commitdata.h b/src/plugins/git/commitdata.h index 40faabe4fa..746d5d259a 100644 --- a/src/plugins/git/commitdata.h +++ b/src/plugins/git/commitdata.h @@ -64,7 +64,7 @@ struct GitSubmitEditorPanelData QDebug operator<<(QDebug d, const GitSubmitEditorPanelData &); enum FileState { - UntrackedFile = 0, + EmptyFileState = 0x00, StagedFile = 0x01, ModifiedFile = 0x02, @@ -77,6 +77,7 @@ enum FileState { UnmergedUs = 0x100, UnmergedThem = 0x200, + UntrackedFile = 0x400, UnknownFileState = 0x800 }; Q_DECLARE_FLAGS(FileStates, FileState) -- cgit v1.2.1