Skip to content

Conversation

gerhardol
Copy link
Member

Proposed changes

If a submodule directory does not exist but .exists in gitmodules, git-status fails.
(delete or rename the subm directory)
GE can not reasonably handle this scenario.
Present the error in the diff tab, revgrid is still gray.

GitStatusMonitor fails with a popup still:

image

Screenshots

Before

image

After

image

Merge strategy

I agree that the maintainer squash merge this PR (if the commit message is clear).


✒️ I contribute this code under The Developer Certificate of Origin.

If a submodule directory does not exist but .exists in gitmodules,
git-status fails.
GE can not reasonably handle this scenario.
Present the error in the diff tab, revgrid is still gray.
Copy link
Member

@mstv mstv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mstv mstv added this to the v6.0.1 milestone Jun 29, 2025
@gerhardol gerhardol merged commit 7158ca3 into gitextensions:master Jul 29, 2025
4 checks passed
@gerhardol gerhardol deleted the feature/git-status-error branch July 29, 2025 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants