• Andrew Janke's avatar
    Move current_branch() from git plugin to core lib/git.zsh · 9f552130
    Andrew Janke authored
    Fixes #4085: core -> plugin dependency issue.
    Rename it to git_current_branch for clarity that it's git-specific.
    Update all plugins that were calling it to use new name.
    Fix variable leaks by making more variables in lib/git.zsh local.
    Have lib/git.zsh use [[ ]] instead of [ ] everywhere.
    9f552130
git.zsh 7.4 KB