Merge pull request #699 from tombell/suppress-git-archive-all-output

Actually suppress the output from `git_archive_all`
This commit is contained in:
Jose Diaz-Gonzalez committed 2014-11-15 20:23:57 -05:00
commit d4235304ee
1 file changed
+3 -3
+3 -3
View File
@@ -6,11 +6,11 @@ git_archive_all() {
TMP_WORK_DIR=$(mktemp -d) TMP_WORK_DIR=$(mktemp -d)
chmod 755 $TMP_WORK_DIR chmod 755 $TMP_WORK_DIR
unset GIT_DIR GIT_WORK_TREE unset GIT_DIR GIT_WORK_TREE
git clone $DOKKU_ROOT/$APP $TMP_WORK_DIR > /dev/null git clone $DOKKU_ROOT/$APP $TMP_WORK_DIR &> /dev/null
pushd $TMP_WORK_DIR > /dev/null pushd $TMP_WORK_DIR > /dev/null
git config advice.detachedHead false git config advice.detachedHead false
git checkout $REV > /dev/null git checkout $REV &> /dev/null
git submodule update --init --recursive > /dev/null git submodule update --init --recursive &> /dev/null
find -name .git -prune -exec rm -rf {} \; > /dev/null find -name .git -prune -exec rm -rf {} \; > /dev/null
tar c . tar c .
popd > /dev/null popd > /dev/null