Sometimes --quiet returns exit status 0 the first time git diff is run
and then returns exit status 1 in 2nd attempts and onwards. Not sure why
but it's causing the builder-merge job to miss template updates
sometimes.
Change-Id: Ica65d017521d0e436135256a6abbaaba1f8c55db
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
gitdir=$(git rev-parse --git-dir); scp -p -P 29418 jenkins-releng@git.opendaylight.org:hooks/commit-msg ${gitdir}/hooks/
python scripts/jjb-autoupdate-project.py
-git diff --quiet --exit-code || submitJJB
+git diff --exit-code || submitJJB