From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo Tosatti Subject: Re: [PATCH] make-release: fix mtime for a wider range of git versions Date: Tue, 16 Nov 2010 20:11:41 -0200 Message-ID: <20101116221141.GA26743@amt.cnet> References: <1289840297-31854-1-git-send-email-bernhard.kohl@nsn.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kvm@vger.kernel.org, mst@redhat.com To: Bernhard Kohl Return-path: Received: from mx1.redhat.com ([209.132.183.28]:24783 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756233Ab0KPWRI (ORCPT ); Tue, 16 Nov 2010 17:17:08 -0500 Content-Disposition: inline In-Reply-To: <1289840297-31854-1-git-send-email-bernhard.kohl@nsn.com> Sender: kvm-owner@vger.kernel.org List-ID: On Mon, Nov 15, 2010 at 05:58:17PM +0100, Bernhard Kohl wrote: > With the latest git versions, e.g. 1.7.2.3, git still prints out > the tag info in addition to the requested format. So let's simply > fetch the first line from the output. > > In addition I use the --pretty option instead of --format which > is not recognized in very old git versions, e.g. 1.5.5.6. > > Tested with git versions 1.5.5.6 and 1.7.2.3. > > Signed-off-by: Bernhard Kohl > --- > kvm/scripts/make-release | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) Applied, thanks.