diff options
author | Michał Górny <mgorny@gentoo.org> | 2014-03-02 11:50:48 +0000 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2014-03-02 11:50:48 +0000 |
commit | 69cdc8ff8232337c18d10cc5e75abb9849840fed (patch) | |
tree | 58d618362ab9df9d1ca84156924fffcf39ada1bb /eclass | |
parent | amd64 stable, bug #502210 (diff) | |
download | historical-69cdc8ff8232337c18d10cc5e75abb9849840fed.tar.gz historical-69cdc8ff8232337c18d10cc5e75abb9849840fed.tar.bz2 historical-69cdc8ff8232337c18d10cc5e75abb9849840fed.zip |
Clarify where EGIT_CLONE_TYPE and EGIT_MIN_CLONE_TYPE is supposed to be set.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/ChangeLog | 5 | ||||
-rw-r--r-- | eclass/git-r3.eclass | 8 |
2 files changed, 11 insertions, 2 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog index 5a321310b95b..6e193b551092 100644 --- a/eclass/ChangeLog +++ b/eclass/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for eclass directory # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1162 2014/03/02 11:50:23 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1163 2014/03/02 11:50:48 mgorny Exp $ + + 02 Mar 2014; Michał Górny <mgorny@gentoo.org> git-r3.eclass: + Clarify where EGIT_CLONE_TYPE and EGIT_MIN_CLONE_TYPE is supposed to be set. 02 Mar 2014; Michał Górny <mgorny@gentoo.org> git-r3.eclass: Do not try shallow clones on local repositories. diff --git a/eclass/git-r3.eclass b/eclass/git-r3.eclass index 4fab97b15cc4..b0c836071682 100644 --- a/eclass/git-r3.eclass +++ b/eclass/git-r3.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/git-r3.eclass,v 1.37 2014/03/02 11:50:23 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/git-r3.eclass,v 1.38 2014/03/02 11:50:48 mgorny Exp $ # @ECLASS: git-r3.eclass # @MAINTAINER: @@ -37,6 +37,9 @@ fi # Type of clone that should be used against the remote repository. # This can be either of: 'mirror', 'single', 'shallow'. # +# This is intended to be set by user in make.conf. Ebuilds are supposed +# to set EGIT_MIN_CLONE_TYPE if necessary instead. +# # The 'mirror' type clones all remote branches and tags with complete # history and all notes. EGIT_COMMIT can specify any commit hash. # Upstream-removed branches and tags are purged from the local clone @@ -65,6 +68,9 @@ fi # later on the list) than EGIT_MIN_CLONE_TYPE, the eclass uses # EGIT_MIN_CLONE_TYPE instead. # +# This variable is intended to be used by ebuilds only. Users are +# supposed to set EGIT_CLONE_TYPE instead. +# # A common case is to use 'single' whenever the build system requires # access to full branch history or the remote (Google Code) does not # support shallow clones. Please use sparingly, and to fix fatal errors |