From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] scripts: hide double git reference check error Date: Tue, 13 Sep 2016 16:45:17 +0200 Message-ID: <2008619.2c9INdSz2E@xps13> References: <1472459735-11683-1-git-send-email-thomas.monjalon@6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit To: dev@dpdk.org Return-path: Received: from mail-lf0-f47.google.com (mail-lf0-f47.google.com [209.85.215.47]) by dpdk.org (Postfix) with ESMTP id 6C0D06CC3 for ; Tue, 13 Sep 2016 16:45:19 +0200 (CEST) Received: by mail-lf0-f47.google.com with SMTP id l131so111866965lfl.2 for ; Tue, 13 Sep 2016 07:45:19 -0700 (PDT) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id g7sm23279937wjx.10.2016.09.13.07.45.17 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 13 Sep 2016 07:45:18 -0700 (PDT) In-Reply-To: <1472459735-11683-1-git-send-email-thomas.monjalon@6wind.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2016-08-29 10:35, Thomas Monjalon: > When checking a git reference which does not exist, a git error > with the long git-branch usage is printed: > > % scripts/check-git-log.sh '-1 3780cbd' > error: malformed object name 2de9f8551ff9 > usage: git branch ... > [a lot of lines] > Wrong 'Fixes' reference: > Fixes: 2de9f8551ff9 ("ethdev: fix documentation for queue start/stop") > > The error from the script is sufficient so the git error can be hidden. > > Signed-off-by: Thomas Monjalon Applied