Commit a4870acd authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Add pushing & extra logging of automatic submodule updates

parent 2c0ea988
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -90,6 +90,13 @@ update_submodules()
		git stash store -m "$msg" $stash
		echo "Failed to unstash changes, the stash has been left on the" \
		     "stack. ($stash)" >&2
		echo "Automatic merge has not been pushed, please check for" \
		     "conflicts and push manually" >&2
	elif ! git push origin master:master; then
		echo "Automatic merge push failed, this may mean the remote" \
		     "'origin' has not been set" >&2
	else
		echo "Submodules have been updated, merged and pushed to origin" >&2
	fi
}