Merge pull request #1009 from bcambl/fix_1004

replace 'git -C' with long version
This commit is contained in:
Blayne Campbell 2016-12-22 11:44:08 -06:00 committed by GitHub
commit 8f402f5c77

View file

@ -135,8 +135,8 @@ fi
is_repo() {
# Use git to check if directory is currently under VCS, return the value
local directory="${1}"
git -C "${directory}" status --short &> /dev/null
return
curdir=$PWD; cd $directory; git status --short &> /dev/null; rc=$?; cd $curdir
return $rc
}
make_repo() {