• Oliver Baumann's avatar
    Parse branch-name for fresh repo (#6302) · 493c3095
    Oliver Baumann authored
    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
    493c3095
gitstatus.py 2.63 KB