1
0
Fork 0
mirror of synced 2024-12-23 14:33:21 -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.

Closes #163
This commit is contained in:
Eric Nielsen 2017-04-11 13:15:10 -05:00 committed by Matt Hamilton
parent b34a75e4d8
commit 9de30b97b1

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]|)) ]]