File tree Expand file tree Collapse file tree 12 files changed +148
-0
lines changed
Expand file tree Collapse file tree 12 files changed +148
-0
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+
3+ # This is not for general consumption but just a simple script
4+ # I use on my private development environment and on kernel.org
5+ # machine to cut binary distribution material.
6+
7+ V=${1?' version' }
8+ M=master.kernel.org
9+ case ` hostname` in
10+ siamese)
11+ scp $0 ${M} :./Distrib
12+ cd /chroot/sarge/build/git &&
13+ scp git-* _$V -* .deb git-core-$V .tar.gz ${M} :debian/.
14+ exit
15+ ;;
16+ esac
17+
18+ G=/pub/software/scm/git
19+ D=$G /debian
20+
21+ set -x
22+
23+ ln $HOME /debian/git-* _$V -* $D /.
24+ ln $HOME /debian/git-core-$V .tar.gz $G /.
25+ ln $HOME /rpms/RPMS/i386/git-* -$V -* $G /.
26+ ln $HOME /rpms/SRPMS/git-* -$V -* $G /.
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+ #
3+ # Not for general consumption; a script I used to make sure
4+ # I do not accidentally push a rewound master to public.
5+
6+ git fetch ko
7+ mb=$( git-merge-base ko-master master)
8+ h=$( git-rev-parse $mb ko-master | sort -u | wc -l)
9+ if test " $h " ! = 1
10+ then
11+ echo " OOOOOPPPPPPPPPPPPPPSSS! master is not ko-master fast forward."
12+ fi
13+ git show-branch ko-master master
14+ git show-branch ko-maint maint
15+ git show-branch ko-pu pu
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+
3+ # DDD=' -DUSE_SYMLINK_HEAD=0'
4+
5+ PATH=/usr/bin:/bin
6+ LANG=C
7+ LC_CTYPE=C
8+ export PATH LANG LC_CTYPE
9+
10+ # make prefix=/usr/local \
11+ make bindir=$HOME /bin/Linux \
12+ PYTHON_PATH=/usr/bin/python2.4 \
13+ CFLAGS=' -O1 -Wall -g' " $DDD " \
14+ WITH_SEND_EMAIL=YesPlease \
15+ WITH_SVNIMPORT=YesPlease \
16+ " $@ "
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+ #
3+ # Rebuild "pu" from topic branches.
4+ #
5+
6+ . git-sh-setup
7+
8+ git-status && exit
9+ git-checkout pu &&
10+ git-reset --hard master &&
11+ ORIG_HEAD=` git-rev-parse ORIG_HEAD` || exit
12+
13+ for H
14+ do
15+ (IFS=" ,$IFS " ; git-pull -n . $H ) || exit
16+ done
17+
18+ (IFS=" ,$IFS " ; git-show-branch master pu $* $ORIG_HEAD )
19+
20+
21+
22+
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+
3+ HERE=` dirname " $0 " `
4+
5+ case " $1 " in
6+ compare | ' ' )
7+ diff -u " $HERE /mailmap" .mailmap
8+ diff -ru " $HERE /remotes" .git/remotes
9+ ;;
10+ save)
11+ cp .mailmap " $HERE /mailmap"
12+ cp -a .git/remotes " $HERE "
13+ ;;
14+ restore)
15+ cp " $HERE /mailmap" .mailmap
16+ cp -a " $HERE /remotes" .git/.
17+ ;;
18+ * )
19+ echo >&2 " usage: $0 [compare|save|restore]"
20+ esac
Original file line number Diff line number Diff line change 1+ H. Peter Anvin <hpa@trantor.hos.anvin.org>
2+ H. Peter Anvin <hpa@bonde.sc.orionmulti.com>
3+ H. Peter Anvin <hpa@tazenda.sc.orionmulti.com>
4+ David_K�gedal <davidk@lysator.liu.se>
5+ Daniel Barkalow <barkalow@iabervon.org>
6+ Martin Langhoff <martin@catalyst.net.nz>
7+ Jon Loeliger <jdl@freescale.org>
8+ Jon Loeliger <jdl@freescale.com>
9+ Robert Fitzsimons <robfitz@273k.net>
10+
Original file line number Diff line number Diff line change 1+ URL: master.kernel.org:/pub/scm/git/git.git/
2+ Pull: master:refs/tags/ko-master
3+ Pull: +pu:refs/tags/ko-pu
4+ Pull: maint:refs/tags/ko-maint
5+ Push: master
6+ Push: +pu
7+ Push: maint
Original file line number Diff line number Diff line change 1+ URL: master.kernel.org:git/.git/
2+ Push: master:origin
3+ Push: maint:maint
4+ Push: +pu:pu
5+
Original file line number Diff line number Diff line change 1+ URL: http://www.kernel.org/pub/scm/gitk/gitk.git
2+ Pull: :refs/tags/paulus
Original file line number Diff line number Diff line change 1+ URL: /chroot/sarge/build/git/.git
2+ Push: master:origin
3+ Push: +pu
4+ Push: maint
You can’t perform that action at this time.
0 commit comments