tools/git-sync-deps improvements
authorHal Canary <halcanary@google.com>
Fri, 27 Jan 2017 16:57:13 +0000 (11:57 -0500)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Fri, 27 Jan 2017 17:39:12 +0000 (17:39 +0000)
commita6f6f77566f210788f83a531067f1b5222d2d33a
tree5801444c8fbb6237ac719461417794724cb4e0e7
parent26caf898f1db66bc6923b61ef902132bbdff51dd
tools/git-sync-deps improvements

  * Use `/usr/bin/env python` patten: more robust on non-standard systems.
  * Factor out status line, make formatting clearer.
  * Alwyas call `git remote set-url origin $repo` since it is quick.
  * Find `fetch-gn` script more robustly.
  * `--help` works again.
  * handling deps_os better
  * check to see that directories don't include each other

Change-Id: I06806226e2c263147723c6326c09c5e385abc68d
Reviewed-on: https://skia-review.googlesource.com/7646
Reviewed-by: Mike Klein <mtklein@chromium.org>
Commit-Queue: Hal Canary <halcanary@google.com>
tools/git-sync-deps