From 53a55467f1196daadaf4f536359724cfc408d283 Mon Sep 17 00:00:00 2001 From: leo Date: Tue, 29 Apr 2025 09:27:09 +0800 Subject: [PATCH] enhance: ignore submodule changes when deal with local changes before pull/checkout/create branch (#1256) Signed-off-by: leo --- src/Commands/CountLocalChangesWithoutUntracked.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Commands/CountLocalChangesWithoutUntracked.cs b/src/Commands/CountLocalChangesWithoutUntracked.cs index 0ba508f8..a704f313 100644 --- a/src/Commands/CountLocalChangesWithoutUntracked.cs +++ b/src/Commands/CountLocalChangesWithoutUntracked.cs @@ -8,7 +8,7 @@ namespace SourceGit.Commands { WorkingDirectory = repo; Context = repo; - Args = "--no-optional-locks status -uno --ignore-submodules=dirty --porcelain"; + Args = "--no-optional-locks status -uno --ignore-submodules=all --porcelain"; } public int Result()