summaryrefslogtreecommitdiffstats
path: root/update_all_submodules
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-12-07 20:59:01 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-12-07 20:59:01 -0600
commitc2cf6015aeb349c923d52f082179a842dec198c2 (patch)
treef0e4088cc704834f94a36d803515e0906c426df3 /update_all_submodules
parent95dd4739aa62188f6ffbfdf80b6537357559a7ec (diff)
downloadscripts-c2cf6015aeb349c923d52f082179a842dec198c2.tar.gz
scripts-c2cf6015aeb349c923d52f082179a842dec198c2.zip
Remove ignore-submodules flag from git commands in order to support older GIT versions
Diffstat (limited to 'update_all_submodules')
-rwxr-xr-xupdate_all_submodules4
1 files changed, 2 insertions, 2 deletions
diff --git a/update_all_submodules b/update_all_submodules
index 8e6668f..498dcef 100755
--- a/update_all_submodules
+++ b/update_all_submodules
@@ -24,7 +24,7 @@ touch /var/lock/update-tde-git-submodules
PARENTDIR=$PWD
echo "Working in $PARENTDIR"
git pull
-if [[ ! -z "`git status --porcelain --ignore-submodules`" ]]; then
+if [[ ! -z "`git status --porcelain`" ]]; then
git reset --hard HEAD
git clean -dxff
fi
@@ -44,7 +44,7 @@ do
git submodule update
fi
cd $PARENTDIR/$DIR2UPDATE
- if [[ ! -z "`git status --porcelain --ignore-submodules`" ]]; then
+ if [[ ! -z "`git status --porcelain`" ]]; then
git reset --hard HEAD
git clean -dxff
fi