diff options
author | Matt Galbraith <MattGal@users.noreply.github.com> | 2016-10-05 19:59:00 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-05 19:59:00 +0300 |
commit | 42ec7efb8d5b3f0d6e5231fd1bcc860fdff18484 (patch) | |
tree | d6904b2512f336b7f3bc57a5f83485efa819853f /clean.sh | |
parent | f9133f89fa77c341db1ec32651cae61c527b8154 (diff) |
Revert changes to clean.sh
Explicitly undoing previous changes to clean.sh; Adding a case insensitive check is neither desired nor nice to do in a both Mac and Linux friendly way.
Diffstat (limited to 'clean.sh')
-rwxr-xr-x | clean.sh | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -20,8 +20,7 @@ fi __working_tree_root="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" -clean_arg=$* -if [[ "${clean_arg,,}" == *"all"* ]] +if [ "$*" == "-all" ] then echo "Removing all untracked files in the working tree" git clean -xdf $__working_tree_root |