• Kyle Laker's avatar
    agnoster: fix git working tree check (#9072) · d24a9dbc
    Kyle Laker authored
    `git rev-parse --is-inside-work-tree` does not have a different exit
    code when not within a work tree; the difference is in the output,
    either "true" when in a work tree, or "false" when not.
    
    The if was modified similarly to the check for the hide-status config,
    which also parses command output rather than exit code.
    Co-authored-by: 's avatarKyle Laker <klaker@easydynamics.com>
    d24a9dbc
Name
Last commit
Last update
.github Loading commit data...
cache Loading commit data...
custom Loading commit data...
lib Loading commit data...
log Loading commit data...
plugins Loading commit data...
templates Loading commit data...
themes Loading commit data...
tools Loading commit data...
.editorconfig Loading commit data...
.gitignore Loading commit data...
CODE_OF_CONDUCT.md Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE.txt Loading commit data...
README.md Loading commit data...
oh-my-zsh.sh Loading commit data...