update.sh: quieten checkout.

This commit is contained in:
Mike McQuaid 2016-06-16 10:57:46 +01:00
parent cc10c632a8
commit 62dd4b14ba

View File

@ -116,7 +116,7 @@ pop_stash_message() {
reset_on_interrupt() { reset_on_interrupt() {
if [[ "$INITIAL_BRANCH" != "$UPSTREAM_BRANCH" && -n "$INITIAL_BRANCH" ]] if [[ "$INITIAL_BRANCH" != "$UPSTREAM_BRANCH" && -n "$INITIAL_BRANCH" ]]
then then
git checkout "$INITIAL_BRANCH" git checkout "$INITIAL_BRANCH" "${QUIET_ARGS[@]}"
fi fi
if [[ -n "$INITIAL_REVISION" ]] if [[ -n "$INITIAL_REVISION" ]]
@ -231,7 +231,7 @@ pull() {
then then
if [[ "$INITIAL_BRANCH" != "$UPSTREAM_BRANCH" && -n "$INITIAL_BRANCH" ]] if [[ "$INITIAL_BRANCH" != "$UPSTREAM_BRANCH" && -n "$INITIAL_BRANCH" ]]
then then
git checkout "$INITIAL_BRANCH" git checkout "$INITIAL_BRANCH" "${QUIET_ARGS[@]}"
fi fi
pop_stash pop_stash