summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2011-09-12 12:49:44 +0000
committerMichał Górny <mgorny@gentoo.org>2011-09-12 12:49:44 +0000
commit8e7547088b02980585552bd37cbdcc21d2287805 (patch)
tree9dfbaf9ac199bc9199e6a65701907c98c9a11fff /eclass/git.eclass
parentBuild with media-libs/libpng-1.5 Bug #381121 (diff)
downloadhistorical-8e7547088b02980585552bd37cbdcc21d2287805.tar.gz
historical-8e7547088b02980585552bd37cbdcc21d2287805.tar.bz2
historical-8e7547088b02980585552bd37cbdcc21d2287805.zip
Issue deprecation warning for devs on use.
Diffstat (limited to 'eclass/git.eclass')
-rw-r--r--eclass/git.eclass6
1 files changed, 5 insertions, 1 deletions
diff --git a/eclass/git.eclass b/eclass/git.eclass
index 90f21be114ef..5dfd59bb8b48 100644
--- a/eclass/git.eclass
+++ b/eclass/git.eclass
@@ -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.eclass,v 1.56 2011/08/22 04:46:31 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/git.eclass,v 1.57 2011/09/12 12:49:44 mgorny Exp $
# @DEPRECATED
# This eclass has been superseded by git-2 eclass.
@@ -195,6 +195,10 @@ git_branch() {
git_fetch() {
debug-print-function ${FUNCNAME} "$@"
+ eqawarn "git.eclass is deprecated."
+ eqawarn "Please update your ebuilds to use git-2 instead. For details, see"
+ eqawarn "http://archives.gentoo.org/gentoo-dev/msg_b7ba363cae580845819ae3501fb157e9.xml"
+
local GIT_DIR EGIT_CLONE_DIR oldsha1 cursha1 extra_clone_opts upstream_branch
[[ -z ${EGIT_HAS_SUBMODULES} ]] && export GIT_DIR