As requested by hasufell. --- eclass/git-r3.eclass | 6 ++++++ 1 file changed, 6 insertions(+)
diff --git a/eclass/git-r3.eclass b/eclass/git-r3.eclass index 7ab94d2..01a6461 100644 --- a/eclass/git-r3.eclass +++ b/eclass/git-r3.eclass @@ -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 -- 1.9.0
