mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-03-06 18:21:35 +08:00

Inside a fresh git repo, i.e. immediately after a `git init`, usually no commit template exists yet. In this case, git renders a different status message than "Initial commit on". We should consider this message when attempting to parse out the branch name. Fixes #6301