- Check for -h|--help before anything is modified.
- Discard stderr from 'git submodule update'.
- Be careful not to overwrite script while it's executing
on win.
- Run hooks by invoking 'git runhooks'.
- Fix --dry-run option.
R=iannucci@chromium.org
CC=jar@chromium.org,scottmg@chromium.org
BUG=
Review URL: https://chromiumcodereview.appspot.com/12865010
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@189926 0039d316-1c4b-4281-b951-d872f2087c98
Call update_depot_tools and re-invoke from git-crup, to get latest
updates.
Move more of the target os functionality into git-crup.sh, so there's
no longer a need for a first-checkout script.
`git submodule sync` is horribly slow on windows. Replicate the
functionality (but faster) in git-crup.sh.
TBR=mmoss@chromium.org,cmp@chromium.org
Review URL: https://codereview.chromium.org/11709003
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@174747 0039d316-1c4b-4281-b951-d872f2087c98
If the working copy isn't on a named branch, don't try to
pull; just fetch.
Use --quiet flag to git-submodule, to prevent interleaving of
terminal output.
Check target os before updating a submodule.
TBR'ing, since no one really has a stake in this, and maruel doesn't
do bash :).
TBR=maruel@chromium.org
Review URL: https://codereview.chromium.org/11645056
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@174280 0039d316-1c4b-4281-b951-d872f2087c98
Rearrange some of the pipe redirections to avoid crashing on Windows.
TBR=cmp@chromium.org
Review URL: https://codereview.chromium.org/11260036
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@164140 0039d316-1c4b-4281-b951-d872f2087c98