Chromium Code Reviews| Index: git-crup |
| =================================================================== |
| --- git-crup (revision 174746) |
| +++ git-crup (working copy) |
| @@ -7,6 +7,12 @@ |
| # submodule-based checkout. Fetches latest commits for top-level solutions; |
| # updates submodules; and runs post-sync hooks. |
| +# Auto-update depot_tools |
| +if [ -z "$GIT_CRUP_REINVOKE" ]; then |
| + update_depot_tools || exit 1 |
| + GIT_CRUP_REINVOKE=1 exec bash "$0" "$@" |
| +fi |
| + |
| export GIT_MERGE_AUTOEDIT=0 |
| ECHO= |