1
0
Fork 0
mirror of synced 2024-11-12 11:08:58 -05:00

Remove is-true function

that was only being used in the `git` and `git-info` modules to check
the output of `git rev-parse --is-inside-work-tree`. The code depending
on this function was already changed.
This commit is contained in:
Eric Nielsen 2017-04-11 13:15:10 -05:00
parent de15b15ff0
commit 7cd632d70b

View file

@ -1,3 +0,0 @@
# Checks a boolean variable for "true".
# Case insensitive: "1", "y", "yes", "t", "true", "o", and "on".
[[ -n ${1} && ${1} == (1|[Yy]([Ee][Ss]|)|[Tt]([Rr][Uu][Ee]|)|[Oo]([Nn]|)) ]]