From owner-svn-src-head@FreeBSD.ORG Thu Oct 3 01:53:18 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 10798F03; Thu, 3 Oct 2013 01:53:18 +0000 (UTC) (envelope-from rpaulo@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id F067F28D8; Thu, 3 Oct 2013 01:53:17 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r931rHua002022; Thu, 3 Oct 2013 01:53:17 GMT (envelope-from rpaulo@svn.freebsd.org) Received: (from rpaulo@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r931rHGk002021; Thu, 3 Oct 2013 01:53:17 GMT (envelope-from rpaulo@svn.freebsd.org) Message-Id: <201310030153.r931rHGk002021@svn.freebsd.org> From: Rui Paulo Date: Thu, 3 Oct 2013 01:53:17 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r256014 - head/sys/conf X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Oct 2013 01:53:18 -0000 Author: rpaulo Date: Thu Oct 3 01:53:17 2013 New Revision: 256014 URL: http://svnweb.freebsd.org/changeset/base/256014 Log: Append the Git branch to the version string. Approved by: re (gjb) Modified: head/sys/conf/newvers.sh Modified: head/sys/conf/newvers.sh ============================================================================== --- head/sys/conf/newvers.sh Thu Oct 3 01:18:06 2013 (r256013) +++ head/sys/conf/newvers.sh Thu Oct 3 01:53:17 2013 (r256014) @@ -159,6 +159,10 @@ if [ -n "$git_cmd" ] ; then git=" ${git}" fi fi + git_b=`$git_cmd rev-parse --abbrev-ref HEAD` + if [ -n "$git_b" ] ; then + git="${git}(${git_b})" + fi if $git_cmd --work-tree=${SYSDIR}/.. diff-index \ --name-only HEAD | read dummy; then git="${git}-dirty"