Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: "Michał Górny" <mgorny@g.o>
Subject: [gentoo-dev] [PATCH git-r3 12/12] Clarify which EGIT_CLONE_TYPE variables are set by who.
Date: Thu, 27 Feb 2014 00:10:02
Message-Id: 1393459758-14547-12-git-send-email-mgorny@gentoo.org
In Reply to: [gentoo-dev] [PATCHES git-r3] Clean up and different clone type support by "Michał Górny"
1 As requested by hasufell.
2 ---
3 eclass/git-r3.eclass | 6 ++++++
4 1 file changed, 6 insertions(+)
5
6 diff --git a/eclass/git-r3.eclass b/eclass/git-r3.eclass
7 index 7ab94d2..01a6461 100644
8 --- a/eclass/git-r3.eclass
9 +++ b/eclass/git-r3.eclass
10 @@ -37,6 +37,9 @@ fi
11 # Type of clone that should be used against the remote repository.
12 # This can be either of: 'mirror', 'single', 'shallow'.
13 #
14 +# This is intended to be set by user in make.conf. Ebuilds are supposed
15 +# to set EGIT_MIN_CLONE_TYPE if necessary instead.
16 +#
17 # The 'mirror' type clones all remote branches and tags with complete
18 # history and all notes. EGIT_COMMIT can specify any commit hash.
19 # Upstream-removed branches and tags are purged from the local clone
20 @@ -65,6 +68,9 @@ fi
21 # later on the list) than EGIT_MIN_CLONE_TYPE, the eclass uses
22 # EGIT_MIN_CLONE_TYPE instead.
23 #
24 +# This variable is intended to be used by ebuilds only. Users are
25 +# supposed to set EGIT_CLONE_TYPE instead.
26 +#
27 # A common case is to use 'single' whenever the build system requires
28 # access to full branch history or the remote (Google Code) does not
29 # support shallow clones. Please use sparingly, and to fix fatal errors
30 --
31 1.9.0