You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OS information: Darwin XXXXXXXXXXXXX 21.5.0 Darwin Kernel Version 21.5.0: Tue Apr 26 21:08:29 PDT 2022; root:xnu-8020.121.3~4/RELEASE_ARM64_T8101 arm64
git version: git version 2.32.1 (Apple Git-133)
The text was updated successfully, but these errors were encountered:
Description
When standing on non-HEAD master branch, display of git branch (say
my-branch
) will be broken.There are some occasions where it works (separate branch off
HEAD
), but problem can be reproduced.Expected behavior
The git branch name is displayed just fine (displays
[my-branch]
in prompt)Actual behavior
Displays a broken name in prompt, like
]
Steps to Reproduce
https://github.com/sorin-ionescu/prezto.git
)cd prezto
)[master]
)git checkout HEAD~1
)]
)it seems that
git symbolic-ref HEAD
command used for display is broken in this situation?Versions
The text was updated successfully, but these errors were encountered: