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: Sun, 02 Mar 2014 11:49:52
Message-Id: 20140302114949.DDC0A2004E@flycatcher.gentoo.org
1 mgorny 14/03/02 11:49:49
2
3 Modified: ChangeLog git-r3.eclass
4 Log:
5 Force non-forward updates on git refs.
6
7 Revision Changes Path
8 1.1161 eclass/ChangeLog
9
10 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.1161&view=markup
11 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.1161&content-type=text/plain
12 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?r1=1.1160&r2=1.1161
13
14 Index: ChangeLog
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v
17 retrieving revision 1.1160
18 retrieving revision 1.1161
19 diff -u -r1.1160 -r1.1161
20 --- ChangeLog 2 Mar 2014 11:49:05 -0000 1.1160
21 +++ ChangeLog 2 Mar 2014 11:49:49 -0000 1.1161
22 @@ -1,6 +1,9 @@
23 # ChangeLog for eclass directory
24 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
25 -# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1160 2014/03/02 11:49:05 mgorny Exp $
26 +# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1161 2014/03/02 11:49:49 mgorny Exp $
27 +
28 + 02 Mar 2014; Michał Górny <mgorny@g.o> git-r3.eclass:
29 + Force non-forward updates on git refs.
30
31 02 Mar 2014; Michał Górny <mgorny@g.o> git-r3.eclass:
32 Add EGIT_MIN_CLONE_TYPE to control clone type via ebuilds.
33
34
35
36 1.36 eclass/git-r3.eclass
37
38 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/git-r3.eclass?rev=1.36&view=markup
39 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/git-r3.eclass?rev=1.36&content-type=text/plain
40 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/git-r3.eclass?r1=1.35&r2=1.36
41
42 Index: git-r3.eclass
43 ===================================================================
44 RCS file: /var/cvsroot/gentoo-x86/eclass/git-r3.eclass,v
45 retrieving revision 1.35
46 retrieving revision 1.36
47 diff -u -r1.35 -r1.36
48 --- git-r3.eclass 2 Mar 2014 11:49:05 -0000 1.35
49 +++ git-r3.eclass 2 Mar 2014 11:49:49 -0000 1.36
50 @@ -1,6 +1,6 @@
51 # Copyright 1999-2014 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.35 2014/03/02 11:49:05 mgorny Exp $
54 +# $Header: /var/cvsroot/gentoo-x86/eclass/git-r3.eclass,v 1.36 2014/03/02 11:49:49 mgorny Exp $
55
56 # @ECLASS: git-r3.eclass
57 # @MAINTAINER:
58 @@ -452,14 +452,14 @@
59 fetch_command+=(
60 --prune
61 # mirror the remote branches as local branches
62 - "refs/heads/*:refs/heads/*"
63 + "+refs/heads/*:refs/heads/*"
64 # pull tags explicitly in order to prune them properly
65 - "refs/tags/*:refs/tags/*"
66 + "+refs/tags/*:refs/tags/*"
67 # notes in case something needs them
68 - "refs/notes/*:refs/notes/*"
69 + "+refs/notes/*:refs/notes/*"
70 # and HEAD in case we need the default branch
71 # (we keep it in refs/git-r3 since otherwise --prune interferes)
72 - HEAD:refs/git-r3/HEAD
73 + "+HEAD:refs/git-r3/HEAD"
74 )
75 else # single or shallow
76 local fetch_l fetch_r
77 @@ -502,7 +502,7 @@
78 fi
79
80 fetch_command+=(
81 - "${fetch_l}:${fetch_r}"
82 + "+${fetch_l}:${fetch_r}"
83 )
84 fi