From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QH0T0-0002AX-D6 for garchives@archives.gentoo.org; Mon, 02 May 2011 21:15:52 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AD9221C044; Mon, 2 May 2011 21:15:32 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 7DC351C044 for ; Mon, 2 May 2011 21:15:32 +0000 (UTC) Received: from flycatcher.gentoo.org (flycatcher.gentoo.org [81.93.255.6]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AEE7B1B4006 for ; Mon, 2 May 2011 21:15:31 +0000 (UTC) Received: by flycatcher.gentoo.org (Postfix, from userid 2279) id 5790920054; Mon, 2 May 2011 21:15:30 +0000 (UTC) From: "Michal Gorny (mgorny)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, mgorny@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in eclass: git-2.eclass X-VCS-Repository: gentoo-x86 X-VCS-Files: git-2.eclass X-VCS-Directories: eclass X-VCS-Committer: mgorny X-VCS-Committer-Name: Michal Gorny Content-Type: text/plain; charset=utf8 Message-Id: <20110502211530.5790920054@flycatcher.gentoo.org> Date: Mon, 2 May 2011 21:15:30 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: eb70807e7626ce8f99e184fa58b41b9a mgorny 11/05/02 21:15:30 Modified: git-2.eclass Log: Fix variable references ({cur,old}sha1 -> {cur,old}sha). Revision Changes Path 1.5 eclass/git-2.eclass file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/git-2.eclas= s?rev=3D1.5&view=3Dmarkup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/git-2.eclas= s?rev=3D1.5&content-type=3Dtext/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/git-2.eclas= s?r1=3D1.4&r2=3D1.5 Index: git-2.eclass =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /var/cvsroot/gentoo-x86/eclass/git-2.eclass,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- git-2.eclass 24 Apr 2011 15:33:56 -0000 1.4 +++ git-2.eclass 2 May 2011 21:15:30 -0000 1.5 @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/git-2.eclass,v 1.4 2011/04/24 = 15:33:56 scarabeus Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/git-2.eclass,v 1.5 2011/05/02 = 21:15:30 mgorny Exp $ =20 # @ECLASS: git-2.eclass # @MAINTAINER: @@ -358,7 +358,7 @@ echo "GIT update -->" echo " repository: ${EGIT_REPO_URI_SELECTED}" # write out message based on the revisions - if [[ "${oldsha1}" !=3D "${cursha1}" ]]; then + if [[ "${oldsha}" !=3D "${cursha}" ]]; then echo " updating from commit: ${oldsha}" echo " to commit: ${cursha}" else @@ -370,7 +370,7 @@ popd > /dev/null fi # export the version the repository is at - export EGIT_VERSION=3D"${cursha1}" + export EGIT_VERSION=3D"${cursha}" # log the repo state [[ ${EGIT_COMMIT} !=3D ${EGIT_BRANCH} ]] \ && echo " commit: ${EGIT_COMMIT}"