From patchwork Sat Jun 10 02:14:09 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vincent McIntyre X-Patchwork-Id: 9779603 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 1A22460393 for ; Sat, 10 Jun 2017 02:13:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EB4982874B for ; Sat, 10 Jun 2017 02:13:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CE6832874F; Sat, 10 Jun 2017 02:13:51 +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=-7.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_HI 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 62F2A2874B for ; Sat, 10 Jun 2017 02:13:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751647AbdFJCNu (ORCPT ); Fri, 9 Jun 2017 22:13:50 -0400 Received: from mail-pg0-f68.google.com ([74.125.83.68]:34909 "EHLO mail-pg0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751637AbdFJCNt (ORCPT ); Fri, 9 Jun 2017 22:13:49 -0400 Received: by mail-pg0-f68.google.com with SMTP id f127so9102560pgc.2 for ; Fri, 09 Jun 2017 19:13:49 -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=mZ+ATXuHkpRp2MFPExzZESHhu2sUuqeu7sI8Vz+jTH8=; b=pnzrvwZF7i0zxKgFLHnAs/kMFzL3IiHqZgscPUqDXHC4QG0XuwblwKty34ewKVQn1A FyLd4KtbdrFKnKdsjt81mmSmUZVDVsZ8RM+k/tAUA6Tp9jhNMxKM6sAV5zRliLGCxZiv IS0MnAL5b7JhxVbacCSGvuGtVZWLsRj9vKqxAgW9Sm3DTpTIGxKVoZVONrf50MeNPT6j NfF15taQzAU3Rj466PR8d6lQ7dBAaozup9LybLHg0iodmEHPqjoGyQ7n1U+Olr7WyG7t cisT8EYoUoNc0Obi+rqmdRilCV6GFbzhYr3GehGHFeJVv0fDlPQ+dKIomplEsneCN1+H ceNQ== 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=mZ+ATXuHkpRp2MFPExzZESHhu2sUuqeu7sI8Vz+jTH8=; b=iE3XrV3TTu5VWWoMJ7RlmO6ABbx02b+lwwww9Br2+ON3TYSZBJNBAxEe3uJribyRER 3IFm/iQKYkVtCU0tjyrzIPO53oHAQ2o4BiJQsP2ZrOo1JFrALhK0oqfqz64GbitBc22M b/5qvnhUYe+wwWDh86RVXkP3Y/zr5TBwm6Mt381iNYvi41n7BsDWg/8FuZjg0Tj5lj+Z ieS4QwuBwlAxjqJQ2PoNJcyvR6jq713dbG8OPlBJ4adIz1P2aObvrSRb553JLtABBwlg yk4eESpJPlbkn2ZgFnYKHzEQOqnbDI2Kdb/+jITbjy7sMv4KEp7kcpXOwwlVFMFxXfKB lxRQ== X-Gm-Message-State: AODbwcB8Vmyt7EbluTJ5bY7rombpuw4gYOs+tyxPnJkgikvtRX21grqK IRg+s2nGYiILGqjK X-Received: by 10.98.138.16 with SMTP id y16mr32584117pfd.131.1497060828804; Fri, 09 Jun 2017 19:13:48 -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 x30sm6045358pge.23.2017.06.09.19.13.46 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 09 Jun 2017 19:13:47 -0700 (PDT) Date: Sat, 10 Jun 2017 12:14:09 +1000 From: Vincent McIntyre To: linux-media@vger.kernel.org Subject: [patch] [media_build] make check_git() give more information in verbose mode (resend) Message-ID: <20170610021407.GC12764@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. Original send Date: Thu, 1 Jun 2017 20:44:27 +1000 Make check_git() give more information in verbose mode. 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; }