Revert "MT#15293 commit: [PRO] do pull first"

This reverts commit 76ada0a772.

Change-Id: Ibd01e0abfe24dcd3b6f681e66fa696cd7ca6852d
changes/34/2734/2
Víctor Seva 11 years ago committed by Victor Seva
parent eac494cb42
commit b883a9f2b7

@ -64,15 +64,6 @@ log_debug "git status | grep -q 'working directory clean'"
if git status | grep -q 'working directory clean' ; then
log_info "OK: nothing to commit."
else
if [ -f "${SCRIPTS}"/pull ] ; then
log_debug 'git stash'
git stash >/dev/null
if ! "${SCRIPTS}"/pull ; then
exit 1
fi
log_debug 'git stash pop'
git stash pop >/dev/null
fi
log_debug "git add . ; git commit -a -m \"\$msg [\$(date --rfc-3339=ns)]\""
git add .
git commit -a -m "$msg [$(date --rfc-3339=ns)]" >/dev/null

Loading…
Cancel
Save