diff options
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/ChangeLog | 5 | ||||
-rw-r--r-- | eclass/git-r3.eclass | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog index 92f20bd67a3e..f462c685b386 100644 --- a/eclass/ChangeLog +++ b/eclass/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for eclass directory # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.991 2013/09/26 21:04:42 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.992 2013/09/27 16:22:28 mgorny Exp $ + + 27 Sep 2013; Michał Górny <mgorny@gentoo.org> git-r3.eclass: + Always fetch all branches when doing non-shallow fetch. 26 Sep 2013; Michał Górny <mgorny@gentoo.org> git-r3.eclass: Fix parsing EGIT_REPO_URI. Bug #486080. diff --git a/eclass/git-r3.eclass b/eclass/git-r3.eclass index 51d9f43bb437..1be821534326 100644 --- a/eclass/git-r3.eclass +++ b/eclass/git-r3.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/git-r3.eclass,v 1.11 2013/09/26 21:04:42 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/git-r3.eclass,v 1.12 2013/09/27 16:22:28 mgorny Exp $ # @ECLASS: git-r3.eclass # @MAINTAINER: @@ -445,6 +445,8 @@ git-r3_fetch() { if [[ -f ${GIT_DIR}/shallow ]]; then ref_param+=( --unshallow ) fi + # fetch all branches + ref_param+=( "refs/heads/*:refs/remotes/origin/*" ) else # 'git show-ref --heads' returns 1 when there are no branches if ! git show-ref --heads -q; then |