summaryrefslogtreecommitdiffstats
path: root/GitAutoDeploy.py
diff options
context:
space:
mode:
authorOliver Poignant <oliver@poignant.se>2015-08-23 14:38:03 +0200
committerOliver Poignant <oliver@poignant.se>2015-08-23 14:38:03 +0200
commit4f29a3136538925497493e1cac952861a10a33c0 (patch)
treeb7f966277fcf5ec6e03701dd2ce989d88311d816 /GitAutoDeploy.py
parentbaa10bc6d704e41aba54bf4b81323b71428e5540 (diff)
downloadGit-Auto-Deploy-4f29a3136538925497493e1cac952861a10a33c0.zip
Git-Auto-Deploy-4f29a3136538925497493e1cac952861a10a33c0.tar.gz
Git-Auto-Deploy-4f29a3136538925497493e1cac952861a10a33c0.tar.bz2
Removed git update-index since it makes deployment fail in some cases
Diffstat (limited to 'GitAutoDeploy.py')
-rwxr-xr-xGitAutoDeploy.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/GitAutoDeploy.py b/GitAutoDeploy.py
index 8b59041..5f12546 100755
--- a/GitAutoDeploy.py
+++ b/GitAutoDeploy.py
@@ -64,11 +64,12 @@ class GitWrapper():
cmd = 'cd "' + repo_config['path'] + '"'\
'&& unset GIT_DIR ' +\
'&& git fetch origin ' +\
- '&& git update-index --refresh ' +\
'&& git reset --hard origin/' + branch + ' ' +\
'&& git submodule init ' +\
'&& git submodule update'
+# '&& git update-index --refresh ' +\
+
res = call([cmd], shell=True)
print 'Pull result: ' + str(res)