Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

Commit 6bf64a4

Browse files
committed
Replace 'devel' with 'master'
As discussed on the msysGit mailing list, we switched from the two-integration branch workflow to a single one. The original idea of having 'devel' and 'master' as two separate integration branches was to let 'devel' be rebased all the time while 'master' *must* fast-forward always. However, it turned out that such a maintainership style falls on its face when there are more than a single maintainer, so we had to invent the merging rebase strategy: it allows us to rebase but fast-forward at the same time. It does so by faking a merge when going back to a clean upstream revision and re-applying all the patches. Since that distinction between 'devel' and 'master' is now obsolete, we can just do away with 'devel'. It has served us well and deserves to be retired now. May it rest in peace. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 7c1d983 commit 6bf64a4

File tree

5 files changed

+13
-15
lines changed

5 files changed

+13
-15
lines changed

share/WinGit/HowToRelease.txt

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Here is a step-by-step instruction for the maintainer:
4343
cd /git
4444
git fetch mingw
4545
git fetch junio
46-
git checkout devel
46+
git checkout master
4747
git merge mingw/master
4848
git merge junio/master
4949
make -k test | tee test.log
@@ -59,7 +59,7 @@ Here is a step-by-step instruction for the maintainer:
5959
git merge origin/master
6060

6161
cd /share/WinGit
62-
git checkout devel
62+
git checkout master
6363
start ReleaseNotes.rtf # edit and save
6464
git commit -a
6565
git tag -a -m "Git-<version>" Git-<version>
@@ -70,12 +70,10 @@ Here is a step-by-step instruction for the maintainer:
7070
# Upload to Google code (verify sha1).
7171

7272
cd /git
73-
git push . devel:master # should fast-forward
74-
git push
73+
git push master
7574
git push <version>-msysgit<number>
7675
cd /
77-
git push . devel:master
78-
git push
76+
git push master
7977
git push Git-<version>
8078
# Don't forget to push tags.
8179

share/msysGit/merging-rebase.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/sh
22
#
3-
# Rebase 'devel' on top of an upstream branch (defaults to 'junio/next'),
3+
# Rebase 'master' on top of an upstream branch (defaults to 'junio/next'),
44
# retaining "fast-forwardability" by "merging" (with the "ours" strategy) the
55
# previous state on top of the current upstream state.
66
#

share/msysGit/net/release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ test -z "$1" && {
88
}
99

1010
MSYSGITBRANCH="$2"
11-
test -z "$MSYSGITBRANCH" && MSYSGITBRANCH=devel
11+
test -z "$MSYSGITBRANCH" && MSYSGITBRANCH=master
1212
FOURMSYSGITBRANCH="$3"
1313

1414
TARGET="$HOME"/msysGit-netinstall-"$1".exe

share/msysGit/net/setup-msysgit.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ git config remote.origin.fetch '+refs/heads/*:refs/remotes/origin/*' &&
124124
git fetch --tags origin &&
125125
if test -z "@@FOURMSYSGITBRANCH@@"
126126
then
127-
FOURMSYS=origin/devel
127+
FOURMSYS=origin/master
128128
else
129129
FOURMSYS=origin/@@FOURMSYSGITBRANCH@@
130130
fi &&

share/msysGit/rebasing-merge.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/sh
22
#
3-
# Rebase 'devel' on top of an upstream branch (defaults to 'junio/next').
4-
# This merges the old state of 'devel' using the merge strategy 'ours'
3+
# Rebase 'master' on top of an upstream branch (defaults to 'junio/next').
4+
# This merges the old state of 'master' using the merge strategy 'ours'
55
# to enable a fast-forward.
66
#
77
# options:
@@ -58,20 +58,20 @@ fi
5858
TODO_EXTRA="$(git rev-parse --git-dir)/todo-extra"
5959

6060
case "$(git rev-parse --symbolic-full-name HEAD)" in
61-
refs/heads/devel)
61+
refs/heads/master)
6262
UPSTREAM=$(git rev-parse --symbolic-full-name HEAD@{u}) || {
6363
echo "Not tracking any remote branch!" >&2
6464
exit 1
6565
}
6666
test "$(git rev-parse HEAD)" = "$(git rev-parse $UPSTREAM)" ||
67-
test "$(git rev-parse devel@{1})" = "$(git rev-parse $UPSTREAM)" || {
68-
echo "Your 'devel' is not up-to-date!" >&2
67+
test "$(git rev-parse master@{1})" = "$(git rev-parse $UPSTREAM)" || {
68+
echo "Your 'master' is not up-to-date!" >&2
6969
exit 1
7070
}
7171
;; # okay
7272
HEAD) ;; # okay
7373
*)
74-
echo "Not on 'devel'!" >&2
74+
echo "Not on 'master'!" >&2
7575
exit 1
7676
;;
7777
esac

0 commit comments

Comments
 (0)