From patchwork Thu Jun 1 10:44:29 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vincent McIntyre X-Patchwork-Id: 9759291 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 1042060360 for ; Thu, 1 Jun 2017 10:44:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 17B7528459 for ; Thu, 1 Jun 2017 10:44:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0AD3B27F54; Thu, 1 Jun 2017 10:44:25 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.5 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EEAFA27F54 for ; Thu, 1 Jun 2017 10:44:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751710AbdFAKoW (ORCPT ); Thu, 1 Jun 2017 06:44:22 -0400 Received: from mail-it0-f66.google.com ([209.85.214.66]:33178 "EHLO mail-it0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751699AbdFAKoV (ORCPT ); Thu, 1 Jun 2017 06:44:21 -0400 Received: by mail-it0-f66.google.com with SMTP id l145so5249158ita.0 for ; Thu, 01 Jun 2017 03:44:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:mime-version:content-disposition :user-agent; bh=KIsZXJ6dJlOZ0sz/gTI2eDXNjkSPA8ssTxFDgbuSB/w=; b=kL58k2RmseYbGV+aDpp9RtA6MabcvJM2MP+1mUL4Tg4w0MJfdOOThEXf7PkM1DwqzO S+ZQSpBZPlIrZI9ceZT+CehYgYWSy+jSK01Fyj0rzW74W6LwKMpWmX/09nR6fY8dsVgW Z2Fox903qYbw4G+oVNiyND358Y8Lcn5GWvAxgdqBKBOudG5+RfwyodVEdcE51HGycOFm B3SJ3QO2zp1vIxoQiS6LCI8JHH3uCfG/HX6rzxOSrc3x9gyLMKc4mdn0DNtdrLEqOIuk sS1TuGBm3WgP+WPCM27VRRHETROFUZVWBR6NFOA+4ZWbcU1FEENapJ1DsQ7mjAY2/qEx aKQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:mime-version :content-disposition:user-agent; bh=KIsZXJ6dJlOZ0sz/gTI2eDXNjkSPA8ssTxFDgbuSB/w=; b=oUUfW56S5IlNUlQ/TrhJr3OzppzH0GhbugRAAN15EfwKqkirL6oSZrREGFaY5374vK +JVDRhY++qr0Cb8RGU0wc9KcVHK3GacWlQ1tKv91c0K04uHoZ3Me29LJn795C87Pa8wW WoBN4Q0peOcFjpGqEeuL08OsDcLd70Lwp0plkgPZT59iYDaYfGUXz9/J+4EThSLmrwmD xDWNd6xPrwhoOwGvlF6K3fk/cO8C1l6V1kf0WwyTrzxtZeERzscwZAam+xpw8fSbpnwl gyUQwUjP2P2qZvoiJkjjnkKGgL5i5gaC70VvRMi0t+4jvD4JUTiaKmMF7Z2Arwtw8SRT 9tLg== X-Gm-Message-State: AODbwcDuT/OjIfoIbLCu8V8GKx694D4h8kJlUb1F3Y3buHW/+dhTgQPM 41mDMnIfsPFyEYSt X-Received: by 10.99.250.69 with SMTP id g5mr470032pgk.11.1496313855060; Thu, 01 Jun 2017 03:44:15 -0700 (PDT) Received: from ubuntu.windy (c122-106-153-7.carlnfd1.nsw.optusnet.com.au. [122.106.153.7]) by smtp.gmail.com with ESMTPSA id i17sm23663382pgn.60.2017.06.01.03.44.13 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Jun 2017 03:44:14 -0700 (PDT) Date: Thu, 1 Jun 2017 20:44:29 +1000 From: Vincent McIntyre To: linux-media@vger.kernel.org Subject: [PATCH] build: make check_git() give more information in verbose mode Message-ID: <20170601104427.GD3212@ubuntu.windy> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP While debugging another issue I found this change helpful. Signed-off-by: Vincent McIntyre --- build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build b/build index d7f51c2..4457a73 100755 --- a/build +++ b/build @@ -303,12 +303,13 @@ sub check_git($$) my $cmd = shift; my $remote = shift; - print "\$ git --git-dir media/.git $cmd\n" if ($level); + print "\$ git --git-dir media/.git $cmd (checking for '$remote')\n" if ($level); open IN, "git --git-dir media/.git $cmd|" or die "can't run git --git-dir media/.git $cmd"; while () { return 1 if (m/^[\*]*\s*($remote)\n$/); } close IN; + print "check failed\n" if ($level); return 0; }