Git gurus,
A couple of questions:
(1) Why does the new script contain 'ff' in the following when there is no
provision to use the -f option more than once in
https://www.kernel.org/pub/software/scm/git/docs/git-clean.html:
git clean -dxff
shouldn't it just be 'git clean -dxf'
(2)
Is there any difference between:
git submodule foreach "git checkout $branch"
git submodule foreach "$THISSCRIPT $gituser"
and
git submodule foreach "git checkout $branch && $THISSCRIPT $gituser"
logically it looks like the answer is nothing, but it never hurts to ask.
Additionally, I've been using the --recursive option with the submodule
foreach calls:
git submodule update --recursive
git submodule foreach --recursive "git checkout $branch"
Is there any reason against continuing to use the --recursive flag if we are
now calling $THISSCRIPT recursively?
Thanks.
--
David C. Rankin, J.D.,P.E.