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

Unified Diff: git-crup

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, 2 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | git-runhooks » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: git-crup
===================================================================
--- git-crup (revision 165294)
+++ git-crup (working copy)
@@ -15,6 +15,7 @@
hooks=yes
j=10
crup_runner="crup-runner.sh"
+runhooks="git-runhooks"
kernel_name=$(uname -s)
if [ "${kernel_name:0:5}" = "MINGW" -o "${kernel_name:0:6}" = "CYGWIN" ]; then
@@ -134,8 +135,7 @@
status=$?
if [ "$hooks" = "yes" -a "$status" -eq 0 ]; then
- gclient_spec="solutions=[{'name':'src','url':None,'deps_file':'.DEPS.git'}]"
- gclient runhooks --spec="$gclient_spec"
+ "$runhooks"
status=$?
fi
« no previous file with comments | « no previous file | git-runhooks » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698