• Marc Cornellà's avatar
    Put `local var` declaration in its own line in lib/git.zsh · 08423849
    Marc Cornellà authored
    In places, the local statement will override the exit code and the written
    command won't have the effect intended when it was written.
    
    For example, when it's not inside a git repo the exit code won't be true,
    but the local statement will make it true regardless. See #4708.
    08423849
git.zsh 7.4 KB