git_status_shortcuts: don't clobber $IFS

This commit is contained in:
Tom "Ravi" Hale
2018-08-24 18:12:07 +07:00
parent 3a5b7a685a
commit d5c60b2cc5
7 changed files with 17 additions and 32 deletions

View File

@@ -68,13 +68,12 @@ EOF
done
# Setup some custom repos outside the main repo dir
IFS=":"
local IFS=":"
for dir in $GIT_REPOS; do
mkdir -p $dir
cd $dir
git init
done
unset IFS
verboseGitCommands
@@ -83,9 +82,8 @@ EOF
oneTimeTearDown() {
rm -rf "${GIT_REPO_DIR}"
IFS=":"
local IFS=":"
for dir in $GIT_REPOS; do rm -rf $dir; done
unset IFS
}
ensureIndex() {