Move ko-master, sa/master and friends out of tags
Otherwise they make "git-describe --contains" useless.
Junio C Hamano committed
May 23, 2007 at 00:01 UTC
38fe95c56d51ef444d6ee4acf42abe2ea3f5fdff
4 files changed
+19
-11
KO
+7
-7
@@ -5,14 +5,14 @@
5
6
case "$1" in --no-fetch) shift ;; *) git fetch ko ;; esac
7
8
-mb=$(git merge-base ko-master master)
9
-h=$(git rev-parse $mb ko-master | sort -u | wc -l)
8
+mb=$(git merge-base ko/master master)
9
+h=$(git rev-parse $mb ko/master | sort -u | wc -l)
10
if test "$h" != 1
11
then
12
- echo "OOOOOPPPPPPPPPPPPPPSSS! master is not ko-master fast forward."
12
+ echo "OOOOOPPPPPPPPPPPPPPSSS! master is not ko/master fast forward."
13
exit 1
14
fi
15
-git show-branch --topo-order ko-master master
16
-git show-branch --topo-order ko-maint maint
17
-git show-branch --topo-order ko-next next
18
-git show-branch --topo-order ko-pu pu
15
+git show-branch --topo-order ko/master master
16
+git show-branch --topo-order ko/maint maint
17
+git show-branch --topo-order ko/next next
18
+git show-branch --topo-order ko/pu pu
SA
+3
-2
@@ -2,6 +2,7 @@
2
# Take a snapshot of master and next *after* making an
3
# "What's in git.git" announcement, for the next round.
4
5
-git tag -f sa/master refs/heads/master
6
-git tag -f sa/maint refs/heads/maint
5
+git update-ref refs/hold/sa/master refs/heads/master
6
+git update-ref refs/hold/sa/maint refs/heads/maint
7
+
8
TODO
+7
@@ -123,6 +123,13 @@ Technical (milder)
123
From: Junio C Hamano <junkio@cox.net>
124
Message-ID: <11793556371774-git-send-email-junkio@cox.net>
125
126
+* "pure" clones, that does not know about where it was cloned
127
+ from. Specifically, no [remote "origin"] in .git/config, nor
128
+ refs/remotes/origin.
129
+
130
+ From: Junio C Hamano <junkio@cox.net>
131
+ Message-ID: <7vr6pac86g.fsf@assigned-by-dhcp.cox.net>
132
+
133
* upload-pack support to start fetching from any valid point on
134
the history, not just published refs. (Erik W. Biederman
135
<m164jc9ekx.fsf@ebiederm.dsl.xmission.com>)
WI
+2
-2
@@ -19,7 +19,7 @@ echo "X-master-at: $master_at"
19
echo "Content-Type: text/plain; charset=utf-8"
20
echo "Content-Transfer-Encoding: 8bit"
21
22
-tagged=`git rev-parse --not --verify tags/sa/maint`
22
+tagged=`git rev-parse --not --verify hold/sa/maint`
23
list=`git-rev-list $tagged refs/heads/maint 2>/dev/null`
24
if test -n "$list"
25
then
@@ -29,7 +29,7 @@ then
29
log $tagged heads/maint
30
fi
31
32
-tagged=`git rev-parse --not --verify tags/sa/master`
32
+tagged=`git rev-parse --not --verify hold/sa/master`
33
list=`git-rev-list $tagged refs/heads/master 2>/dev/null`
34
if test -n "$list"
35
then