From adb7a0ceec08da0c7a9725c588da571f2ce378e7 Mon Sep 17 00:00:00 2001 From: "jochen@chromium.org" Date: Wed, 23 Jan 2013 20:02:02 +0000 Subject: [PATCH] Print an error message if git crup doesn't run hooks because of an error BUG=171501 R=szager@chromium.org Review URL: https://chromiumcodereview.appspot.com/12040027 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@178357 0039d316-1c4b-4281-b951-d872f2087c98 --- git-crup | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/git-crup b/git-crup index 6f7f533fc..d07a4283d 100755 --- a/git-crup +++ b/git-crup @@ -139,7 +139,15 @@ fi status=$? -if [ "$hooks" = "yes" -a "$status" -eq 0 ]; then +if [ "$status" -ne 0 ]; then + cat 1>&2 <