From 49b17d2e46c2a7d0f4b1f6b1434f3b0d4356aa91 Mon Sep 17 00:00:00 2001 From: Ivailo Monev Date: Tue, 11 Jul 2023 23:22:58 +0300 Subject: [PATCH] dolphin: do not include ignored and untracked files in the status if not added, changed or removed files are not to be committed Signed-off-by: Ivailo Monev --- dolphin/plugins/git/fileviewgitplugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dolphin/plugins/git/fileviewgitplugin.cpp b/dolphin/plugins/git/fileviewgitplugin.cpp index 3bf78ae4..bc025806 100644 --- a/dolphin/plugins/git/fileviewgitplugin.cpp +++ b/dolphin/plugins/git/fileviewgitplugin.cpp @@ -274,7 +274,7 @@ QStringList FileViewGitPlugin::changedGitFiles() const kWarning() << "Could not initialize status options" << m_directory << giterror; return result; } - gitstatusoptions.flags = GIT_STATUS_OPT_DEFAULTS | GIT_STATUS_OPT_UPDATE_INDEX; + gitstatusoptions.flags = GIT_STATUS_OPT_UPDATE_INDEX; GitStatusPayload gitstatuspayload; gitstatuspayload.result = &result; -- 2.11.0