diff --git a/.gitignore b/.gitignore index 5b8f406..35c1446 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,6 @@ -SOURCES/libXxf86dga-1.1.5.tar.bz2 +libXxf86dga-1.1.1.tar.bz2 +/libXxf86dga-1.1.2.tar.bz2 +/libXxf86dga-1.1.3.tar.bz2 +/libXxf86dga-20130524.tar.bz2 +/libXxf86dga-1.1.4.tar.bz2 /libXxf86dga-1.1.5.tar.bz2 diff --git a/commitid b/commitid new file mode 100644 index 0000000..b22aeaa --- /dev/null +++ b/commitid @@ -0,0 +1 @@ +a8dc6be3213bc91dec5e25535ef4bad5a9456af0 diff --git a/make-git-snapshot.sh b/make-git-snapshot.sh new file mode 100644 index 0000000..1f17297 --- /dev/null +++ b/make-git-snapshot.sh @@ -0,0 +1,17 @@ +#!/bin/sh + +DIRNAME=libXxf86dga-$( date +%Y%m%d ) + +rm -rf $DIRNAME +git clone git://git.freedesktop.org/git/xorg/lib/libXxf86dga $DIRNAME +cd $DIRNAME +if [ -z "$1" ]; then + git log | head -1 +else + git checkout $1 +fi +git log | head -1 | awk '{ print $2 }' > ../commitid +git repack -a -d +cd .. +tar jcf $DIRNAME.tar.bz2 $DIRNAME +rm -rf $DIRNAME