Conversation
jals1212
force-pushed
the
feat/git-style
branch
3 times, most recently
from
July 3, 2026 11:27
866fbaf to
d9b0c7d
Compare
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Restyles the native git module (stacked on #15 — merges after it):
main ✓clean;main ⇡2 ⇣1 ✖1 +2 !3 −1 ?2diverged and dirty — branch glyph concatenated onto the name (E0A0's own right bearing is the gap), symbol-before-count groups in fixed order (conflicts, staged, modified, deleted, untracked), zero groups omitted. The old global dirty marker is gone: the counts say dirty, the accent escalation says it in colour.⇡N/⇣Nparsed from the porcelain-bheader, shown only when nonzero. Divergence never triggers the dirty escalation (work-tree only) — a diverged-but-clean tree keeps the resting accent. No remote name, no stash — kept simple by design.branch, clean, conflict, staged, modified, deleted, untracked, ahead, behind) has a glyph default and a plain-ASCII default ((empty) ok x + ! - ? ^ v), selected through theleading_showcascade —label/offmeans "no icons wanted" and degrades the whole set. An explicit@themux_git_symbol_*always wins..Changes
modules/git.conf@_tmx_git_plainflag from the leading_show cascade, 10-arg script invocationutils/git_status.sh${2-}honours the designed-empty branch symbol)tests/git_module.sh(+expected)--dirty=0docs/reference/status-line.mdTest plan
run_tests.sh— 17/17shellcheck -aclean[); conflict/divergence fixtures deterministic and CI-identity-safef3 b0 8a a2, branchee 82 a0, deleted U+2212)Notes
@themux_all_leading_showtier is documented as only reachable when the module tier is unset (stock options bakeiconat the module tier) — pre-existing cascade behaviour shared with the metric modules, called out in the conf comment; a repo-wide fix would follow the@themux_all_<prop>read-time pattern in a separate change.