[gitg/wip/submodules] Make sure to reset walker exclude
- From: Jesse van den Kieboom <jessevdk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gitg/wip/submodules] Make sure to reset walker exclude
- Date: Sun, 14 Dec 2014 11:51:20 +0000 (UTC)
commit 0fb705b56596aeb0bcf2d6cb09a7bcc29c7993f1
Author: Jesse van den Kieboom <jessevdk gmail com>
Date: Sun Dec 14 12:50:32 2014 +0100
Make sure to reset walker exclude
gitg/commit/gitg-commit.vala | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/gitg/commit/gitg-commit.vala b/gitg/commit/gitg-commit.vala
index 39acd77..cb61b66 100644
--- a/gitg/commit/gitg-commit.vala
+++ b/gitg/commit/gitg-commit.vala
@@ -467,6 +467,10 @@ namespace GitgCommit
{
model.set_exclude(new Ggit.OId[] { head_id });
}
+ else
+ {
+ model.set_exclude(new Ggit.OId[0]);
+ }
d_stage_unstage_submodule_commit_callback = (commit) => {
unstage_submodule_at(commit);
@@ -482,6 +486,10 @@ namespace GitgCommit
{
model.set_exclude(new Ggit.OId[] { index_id });
}
+ else
+ {
+ model.set_exclude(new Ggit.OId[0]);
+ }
d_stage_unstage_submodule_commit_callback = (commit) => {
stage_submodule_at(commit);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]