[gitg/wip/commit] List files with both staged and unstaged changes in both sections
- From: Jesse van den Kieboom <jessevdk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gitg/wip/commit] List files with both staged and unstaged changes in both sections
- Date: Fri, 5 Jul 2013 13:51:24 +0000 (UTC)
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]