public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michal Gorny (mgorny)" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in eclass: git-2.eclass
Date: Mon,  2 May 2011 21:15:30 +0000 (UTC)	[thread overview]
Message-ID: <20110502211530.5790920054@flycatcher.gentoo.org> (raw)

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.eclass?rev=1.5&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/git-2.eclass?rev=1.5&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/git-2.eclass?r1=1.4&r2=1.5

Index: git-2.eclass
===================================================================
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 $
 
 # @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}" != "${cursha1}" ]]; then
+		if [[ "${oldsha}" != "${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="${cursha1}"
+	export EGIT_VERSION="${cursha}"
 	# log the repo state
 	[[ ${EGIT_COMMIT} != ${EGIT_BRANCH} ]] \
 		&& echo "   commit:                   ${EGIT_COMMIT}"






             reply	other threads:[~2011-05-02 21:15 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-02 21:15 Michal Gorny (mgorny) [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-09-23 14:10 [gentoo-commits] gentoo-x86 commit in eclass: git-2.eclass Michal Gorny (mgorny)
2011-09-23 13:59 Michal Gorny (mgorny)
2011-09-23 13:58 Michal Gorny (mgorny)
2011-09-23 13:58 Michal Gorny (mgorny)
2011-09-23 13:58 Michal Gorny (mgorny)
2011-09-23 13:58 Michal Gorny (mgorny)
2011-09-23 13:57 Michal Gorny (mgorny)
2011-09-23 13:57 Michal Gorny (mgorny)
2011-09-23 13:57 Michal Gorny (mgorny)
2011-09-23 13:57 Michal Gorny (mgorny)
2011-09-23 13:56 Michal Gorny (mgorny)
2011-09-23 13:55 Michal Gorny (mgorny)
2011-07-30 15:10 Tomas Chvatal (scarabeus)
2011-07-16 13:11 Michal Gorny (mgorny)
2011-06-08 15:18 Donnie Berkholz (dberkholz)
2011-05-20 15:53 Tomas Chvatal (scarabeus)
2011-05-20 15:32 Tomas Chvatal (scarabeus)
2011-05-20 14:35 Tomas Chvatal (scarabeus)
2011-04-24 15:33 Tomas Chvatal (scarabeus)
2011-04-23 10:21 Tomas Chvatal (scarabeus)
2011-04-20 21:51 Tomas Chvatal (scarabeus)
2011-04-20 10:56 Tomas Chvatal (scarabeus)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110502211530.5790920054@flycatcher.gentoo.org \
    --to=mgorny@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox