Commit 7a5834db authored by Vitaly Lipatov's avatar Vitaly Lipatov

gpull: more quiet in check mode

parent 09fa30be
......@@ -77,7 +77,8 @@ REMOTEBRANCH="$2"
[ -n "$REMOTEBRANCH" ] || REMOTEBRANCH=$(get_current_branch)
if [ -n "$CHECKONLY" ] ; then
showcmd git pull --rebase $REPO $REMOTEBRANCH
# Quiet in check mode
#showcmd git pull --rebase $REPO $REMOTEBRANCH
UPTODATEres=`git pull --rebase $REPO $REMOTEBRANCH 2>&1`
echocon "$UPTODATEres"
echo $UPTODATEres | tail -n1 | grep -q "is up to date"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment