forall: Clarify expansion of REPO_ environment values with -c
forall: Clarify expansion of REPO_ environment values with -c

If a user executes:

  repo forall -c echo $REPO_PROJECT

then $REPO_NAME is expanded by the user's shell first, and passed
as $1 to the shell that executes echo. This will either result in
no output, or output of whatever REPO_NAME is set to in the user's
shell. Either way, this is an unexpected result.

The correct way to do it is:

  repo forall -c 'echo $REPO_PROJECT'

such that $REPO_NAME is passed in to the shell literally, and then
expanded to the value set in the environment that was passed to
the shell.

Update the documentation to make this clearer.

Change-Id: I713caee914172ad8d8f0fafacd27026502436f0d

codetutil/git-repo,aosp-mirror/tools_repo,GerritCodeReview/git-repo,gabbayo/git-repo,codetutil/git-repo,TheQtCompany/git-repo,lipro-yocto/git-repo,GerritCodeReview/git-repo,aosp-mirror/tools_repo,lipro-yocto/git-repo,TheQtCompany/git-repo,mer-tools/git-repo,mer-tools/git-repo,chenzilin/git-repo,chenzilin/git-repo,lewixliu/git-repo,couchbasedeps/git-repo,lewixliu/git-repo,gabbayo/git-repo,couchbasedeps/git-repo