[X] You may also try reproduce the issue using clean environment and minimal configurations with
the command emacs -Q.
Bug description
If you have a branch name that uses - in between, which is a common case, the part before the first - will only be shown, while the old manner did not have this bug and only removed the vc-backend-prefix
Steps to reproduce
Have a Git branch like feat/vcs-name, the displayed name will be feat/vsc.
Expected behavior
Having a Git branch like feat/vcs-name, the displayed name should be feat/vsc-name.
Thank you for the bug report
doom-modeline
related packages.emacs -Q
.Bug description
If you have a branch name that uses
-
in between, which is a common case, the part before the first-
will only be shown, while the old manner did not have this bug and only removed thevc-backend
-prefixSteps to reproduce
Have a Git branch like
feat/vcs-name
, the displayed name will befeat/vsc
.Expected behavior
Having a Git branch like
feat/vcs-name
, the displayed name should befeat/vsc-name
.OS
Windows
Emacs Version
29
Emacs Configurations
No response
Error callstack
No response
Anything else
No response