[gitg/wip/commit] Also diff new files in commit
- From: Jesse van den Kieboom <jessevdk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gitg/wip/commit] Also diff new files in commit
- Date: Wed, 3 Jul 2013 15:22:00 +0000 (UTC)
commit 8f1303dc9e25d157b7eabcc2c3cfbbdfa2da1337
Author: Jesse van den Kieboom <jessevdk gmail com>
Date: Wed Jul 3 17:14:00 2013 +0200
Also diff new files in commit
libgitg/gitg-stage.vala | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/libgitg/gitg-stage.vala b/libgitg/gitg-stage.vala
index 8ea5b81..863b375 100644
--- a/libgitg/gitg-stage.vala
+++ b/libgitg/gitg-stage.vala
@@ -162,7 +162,9 @@ public class Stage : Object
public async Ggit.DiffList? diff_index(StageStatusFile f) throws Error
{
- var opts = new Ggit.DiffOptions(Ggit.DiffOption.NORMAL,
+ var opts = new Ggit.DiffOptions(Ggit.DiffOption.INCLUDE_UNTRACKED_CONTENT |
+ Ggit.DiffOption.DISABLE_PATHSPEC_MATCH |
+ Ggit.DiffOption.RECURSE_UNTRACKED_DIRS,
3,
3,
null,
@@ -179,7 +181,9 @@ public class Stage : Object
public async Ggit.DiffList? diff_workdir(StageStatusFile f) throws Error
{
- var opts = new Ggit.DiffOptions(Ggit.DiffOption.NORMAL,
+ var opts = new Ggit.DiffOptions(Ggit.DiffOption.INCLUDE_UNTRACKED_CONTENT |
+ Ggit.DiffOption.DISABLE_PATHSPEC_MATCH |
+ Ggit.DiffOption.RECURSE_UNTRACKED_DIRS,
3,
3,
null,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]