Gentoo Archives: gentoo-commits

From: "Michal Gorny (mgorny)" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in eclass: ChangeLog git-r3.eclass
Date: Fri, 27 Sep 2013 16:22:34
Message-Id: 20130927162228.9368D2004C@flycatcher.gentoo.org
1 mgorny 13/09/27 16:22:28
2
3 Modified: ChangeLog git-r3.eclass
4 Log:
5 Always fetch all branches when doing non-shallow fetch.
6
7 Revision Changes Path
8 1.992 eclass/ChangeLog
9
10 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.992&view=markup
11 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.992&content-type=text/plain
12 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?r1=1.991&r2=1.992
13
14 Index: ChangeLog
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v
17 retrieving revision 1.991
18 retrieving revision 1.992
19 diff -u -r1.991 -r1.992
20 --- ChangeLog 26 Sep 2013 21:04:42 -0000 1.991
21 +++ ChangeLog 27 Sep 2013 16:22:28 -0000 1.992
22 @@ -1,6 +1,9 @@
23 # ChangeLog for eclass directory
24 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
25 -# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.991 2013/09/26 21:04:42 mgorny Exp $
26 +# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.992 2013/09/27 16:22:28 mgorny Exp $
27 +
28 + 27 Sep 2013; Michał Górny <mgorny@g.o> git-r3.eclass:
29 + Always fetch all branches when doing non-shallow fetch.
30
31 26 Sep 2013; Michał Górny <mgorny@g.o> git-r3.eclass:
32 Fix parsing EGIT_REPO_URI. Bug #486080.
33
34
35
36 1.12 eclass/git-r3.eclass
37
38 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/git-r3.eclass?rev=1.12&view=markup
39 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/git-r3.eclass?rev=1.12&content-type=text/plain
40 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/git-r3.eclass?r1=1.11&r2=1.12
41
42 Index: git-r3.eclass
43 ===================================================================
44 RCS file: /var/cvsroot/gentoo-x86/eclass/git-r3.eclass,v
45 retrieving revision 1.11
46 retrieving revision 1.12
47 diff -u -r1.11 -r1.12
48 --- git-r3.eclass 26 Sep 2013 21:04:42 -0000 1.11
49 +++ git-r3.eclass 27 Sep 2013 16:22:28 -0000 1.12
50 @@ -1,6 +1,6 @@
51 # Copyright 1999-2013 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 -# $Header: /var/cvsroot/gentoo-x86/eclass/git-r3.eclass,v 1.11 2013/09/26 21:04:42 mgorny Exp $
54 +# $Header: /var/cvsroot/gentoo-x86/eclass/git-r3.eclass,v 1.12 2013/09/27 16:22:28 mgorny Exp $
55
56 # @ECLASS: git-r3.eclass
57 # @MAINTAINER:
58 @@ -445,6 +445,8 @@
59 if [[ -f ${GIT_DIR}/shallow ]]; then
60 ref_param+=( --unshallow )
61 fi
62 + # fetch all branches
63 + ref_param+=( "refs/heads/*:refs/remotes/origin/*" )
64 else
65 # 'git show-ref --heads' returns 1 when there are no branches
66 if ! git show-ref --heads -q; then