OSDN Git Service

dolphin: do not include ignored and untracked files in the status
authorIvailo Monev <xakepa10@gmail.com>
Tue, 11 Jul 2023 20:22:58 +0000 (23:22 +0300)
committerIvailo Monev <xakepa10@gmail.com>
Tue, 11 Jul 2023 20:22:58 +0000 (23:22 +0300)
if not added, changed or removed files are not to be committed

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
dolphin/plugins/git/fileviewgitplugin.cpp

index 3bf78ae..bc02580 100644 (file)
@@ -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;