Skip to content

submodule: show -dirty suffix in short display#2142

Open
FeathBow wants to merge 1 commit into
dandavison:mainfrom
FeathBow:fix/1838-submodule-dirty-display
Open

submodule: show -dirty suffix in short display#2142
FeathBow wants to merge 1 commit into
dandavison:mainfrom
FeathBow:fix/1838-submodule-dirty-display

Conversation

@FeathBow
Copy link
Copy Markdown

@FeathBow FeathBow commented Apr 9, 2026

The short submodule display strips -dirty from the hash, so same-hash dirty diffs look like no-ops. Keep it in the truncated output.

Fixes #1838

The short submodule output was silently stripping -dirty from the
commit hash, making same-hash dirty diffs look like no-ops.

Fixes dandavison#1838
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.

🚀 Indicate submodule dirty state

1 participant