enhance: use --no-optional-locks parameter for git status command

Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
leo 2025-03-10 18:29:11 +08:00
parent e65cb50495
commit 2b2f070c4a
No known key found for this signature in database
3 changed files with 3 additions and 3 deletions

View file

@ -49,7 +49,7 @@ namespace SourceGit.Commands
if (submodules.Count > 0)
{
Args = $"status -uno --porcelain -- {builder}";
Args = $"--no-optional-locks status -uno --porcelain -- {builder}";
rs = ReadToEnd();
if (!rs.IsSuccess)
return submodules;