Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(331)

Side by Side Diff: git-runhooks

Issue 11362025: A git extension for running post-sync hooks. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools/
Patch Set: Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « git-crup ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/bin/bash
2
3 while test "$PWD" != "/"; do
4 if test -f "$PWD/src/.gitmodules"; then
5 break
6 fi
7 cd ..
8 done
9 if ! test -f "$PWD/src/.gitmodules"; then
10 echo "Could not find the root of your checkout; aborting." 1>&2
11 exit 1
12 fi
13
14 gclient_spec="solutions=[{'name':'src','url':None,'deps_file':'.DEPS.git'}]"
15 gclient runhooks --spec="$gclient_spec"
16 exit $?
OLDNEW
« no previous file with comments | « git-crup ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698