Merge pull request #1009 from bcambl/fix_1004

replace 'git -C' with long version
pull/961/head
Blayne Campbell 8 years ago committed by GitHub
commit 8f402f5c77

@ -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() {

Loading…
Cancel
Save