[gitg/wip/commit] List files with both staged and unstaged changes in both sections



commit 1cc45f098878beaa574da9cce951167f9eebb439
Author: Jesse van den Kieboom <jessevdk gmail com>
Date:   Fri Jul 5 15:50:59 2013 +0200

    List files with both staged and unstaged changes in both sections

 gitg/commit/gitg-commit.vala |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gitg/commit/gitg-commit.vala b/gitg/commit/gitg-commit.vala
index f7aee7b..2cf0bb9 100644
--- a/gitg/commit/gitg-commit.vala
+++ b/gitg/commit/gitg-commit.vala
@@ -325,7 +325,8 @@ namespace GitgCommit
                                        {
                                                staged += f;
                                        }
-                                       else if ((f.flags & workflags) != 0)
+
+                                       if ((f.flags & workflags) != 0)
                                        {
                                                unstaged += f;
                                        }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]