66e1b5f9d0
- rebase to today's server-1.6-enterleave branch, current 1.6 plus enterleave patches. - drop xserver-1.5.99.3-offscreen-pixmaps.patch - merged upstream - fix up git checkout in make-git-snapshot.sh to allow a remote branch to be specified as $1.
20 lines
433 B
Bash
Executable File
20 lines
433 B
Bash
Executable File
#!/bin/sh
|
|
|
|
DIRNAME=xorg-server-$( date +%Y%m%d )
|
|
|
|
rm -rf $DIRNAME
|
|
git clone git://git.freedesktop.org/git/xorg/xserver $DIRNAME
|
|
cd $DIRNAME
|
|
if [ -z "$1" ]; then
|
|
git log | head -1
|
|
else
|
|
git checkout -b $1 origin/$1
|
|
fi
|
|
git log | head -1 | awk '{ print $2 }' > ../commitid
|
|
git repack -a -d
|
|
git-config user.email "x@fedoraproject.org"
|
|
git-config user.name "Fedora X Ninjas"
|
|
cd ..
|
|
tar jcf $DIRNAME.tar.bz2 $DIRNAME
|
|
rm -rf $DIRNAME
|