summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2007-12-27 01:02:30 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2007-12-27 01:02:30 +0000
commit2a6a0f062c0f017387b637e3a883a442ee3d58c8 (patch)
treee4ea2cb1f043037b6002f8626763304c2fe823bf /eclass
parentVersion bump to 0.7.5800 Bug #203138 (diff)
downloadgentoo-2-2a6a0f062c0f017387b637e3a883a442ee3d58c8.tar.gz
gentoo-2-2a6a0f062c0f017387b637e3a883a442ee3d58c8.tar.bz2
gentoo-2-2a6a0f062c0f017387b637e3a883a442ee3d58c8.zip
Add comment about usage of EGIT_BRANCH and where it should go in relation to "inherit git".
Diffstat (limited to 'eclass')
-rw-r--r--eclass/git.eclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/eclass/git.eclass b/eclass/git.eclass
index 1377b6028e00..66c6f7a2b9ae 100644
--- a/eclass/git.eclass
+++ b/eclass/git.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/git.eclass,v 1.7 2007/11/14 20:43:43 ferdy Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/git.eclass,v 1.8 2007/12/27 01:02:30 robbat2 Exp $
## --------------------------------------------------------------------------- #
# subversion.eclass author: Akinori Hattori <hattya@gentoo.org>
@@ -113,6 +113,8 @@ EGIT_DIFFSTAT_CMD="git diff --stat"
## -- EGIT_BRANCH:
#
# git eclass can fetch any branch in git_fetch().
+# If set, it must be before 'inherit git', otherwise both EGIT_BRANCH and
+# EGIT_TREE must be set after 'inherit git'.
# Defaults to 'master'
#
: ${EGIT_BRANCH:=master}