summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Sulfrian <alex@spline.inf.fu-berlin.de>2015-02-07 16:54:50 +0100
committerAlexander Sulfrian <alex@spline.inf.fu-berlin.de>2015-02-07 16:54:50 +0100
commit2b8e3554aa31e99ca9ceef6434064c40d7457081 (patch)
tree06d571531eedd793d0666ab5dfd9f0b259827611
parentfc019f7f036e45c14ca0dc05d8882cb9ec1c2c8b (diff)
downloadbcfg2-tools-2b8e3554aa31e99ca9ceef6434064c40d7457081.tar.gz
bcfg2-tools-2b8e3554aa31e99ca9ceef6434064c40d7457081.tar.bz2
bcfg2-tools-2b8e3554aa31e99ca9ceef6434064c40d7457081.zip
renew-config: The new check-repo does not need a clean working copy.
-rwxr-xr-xrenew-config5
1 files changed, 0 insertions, 5 deletions
diff --git a/renew-config b/renew-config
index db7cef2..4412f9f 100755
--- a/renew-config
+++ b/renew-config
@@ -3,13 +3,8 @@
. settings.sh
echo "Checking repository. Please wait..."
-# pre flight checks
cd "$REPO" >/dev/null
-if [ -n "$(git status --porcelain)" ]; then
- error "$REPO: git repositiory contains uncommited changes."
-fi
-
git push origin master 2>/dev/null
# check if remote is up to date