[gnome-builder] git: include index in search result
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] git: include index in search result
- Date: Mon, 11 Dec 2017 23:34:47 +0000 (UTC)
commit 56446357b078550df8af24d0a412641368d4a401
Author: Christian Hergert <chergert redhat com>
Date: Mon Dec 11 15:33:58 2017 -0800
git: include index in search result
We want both index and workdir, as files that have been
"git add" will not show up without it.
src/plugins/git/ide-git-vcs.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/git/ide-git-vcs.c b/src/plugins/git/ide-git-vcs.c
index a292c4e..5855318 100644
--- a/src/plugins/git/ide-git-vcs.c
+++ b/src/plugins/git/ide-git-vcs.c
@@ -632,7 +632,7 @@ ide_git_vcs_list_status_worker (GTask *task,
strv[0] = relative;
options = ggit_status_options_new (GGIT_STATUS_OPTION_DEFAULT,
- GGIT_STATUS_SHOW_WORKDIR_ONLY,
+ GGIT_STATUS_SHOW_INDEX_AND_WORKDIR,
(const gchar **)strv);
store = g_list_store_new (IDE_TYPE_VCS_FILE_INFO);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]