1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-11 08:20:09 +00:00
ohmyzsh/plugins/git-prompt
Oliver Baumann 493c30954b Parse branch-name for fresh repo (#6302)
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
2018-04-30 16:25:02 +02:00
..
git-prompt.plugin.zsh Cleanup of git-prompt plugin file 2015-08-16 23:02:14 +02:00
gitstatus.py Parse branch-name for fresh repo (#6302) 2018-04-30 16:25:02 +02:00