/[gentoo-x86]/eclass/git.eclass
Gentoo

Diff of /eclass/git.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.56 Revision 1.57
1# Copyright 1999-2011 Gentoo Foundation 1# Copyright 1999-2011 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/Attic/git.eclass,v 1.56 2011/08/22 04:46:31 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/Attic/git.eclass,v 1.57 2011/09/12 12:49:44 mgorny Exp $
4 4
5# @DEPRECATED 5# @DEPRECATED
6# This eclass has been superseded by git-2 eclass. 6# This eclass has been superseded by git-2 eclass.
7# Please modify your ebuilds to use that one instead. 7# Please modify your ebuilds to use that one instead.
8 8
192# @FUNCTION: git_fetch 192# @FUNCTION: git_fetch
193# @DESCRIPTION: 193# @DESCRIPTION:
194# Gets repository from EGIT_REPO_URI and store it in specified EGIT_STORE_DIR 194# Gets repository from EGIT_REPO_URI and store it in specified EGIT_STORE_DIR
195git_fetch() { 195git_fetch() {
196 debug-print-function ${FUNCNAME} "$@" 196 debug-print-function ${FUNCNAME} "$@"
197
198 eqawarn "git.eclass is deprecated."
199 eqawarn "Please update your ebuilds to use git-2 instead. For details, see"
200 eqawarn "http://archives.gentoo.org/gentoo-dev/msg_b7ba363cae580845819ae3501fb157e9.xml"
197 201
198 local GIT_DIR EGIT_CLONE_DIR oldsha1 cursha1 extra_clone_opts upstream_branch 202 local GIT_DIR EGIT_CLONE_DIR oldsha1 cursha1 extra_clone_opts upstream_branch
199 [[ -z ${EGIT_HAS_SUBMODULES} ]] && export GIT_DIR 203 [[ -z ${EGIT_HAS_SUBMODULES} ]] && export GIT_DIR
200 204
201 # choose if user wants elog or just einfo. 205 # choose if user wants elog or just einfo.

Legend:
Removed from v.1.56  
changed lines
  Added in v.1.57

  ViewVC Help
Powered by ViewVC 1.1.20