diff --git a/.gitignore b/.gitignore index daf68cb..eb22fa2 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,6 @@ -SOURCES/libXtst-1.2.3.tar.bz2 +libXtst-1.0.99.2.tar.bz2 +/libXtst-1.2.0.tar.bz2 +/libXtst-1.2.1.tar.bz2 +/libXtst-20130524.tar.bz2 +/libXtst-1.2.2.tar.bz2 /libXtst-1.2.3.tar.bz2 diff --git a/commitid b/commitid new file mode 100644 index 0000000..5888402 --- /dev/null +++ b/commitid @@ -0,0 +1 @@ +e7e04b7be3f018ad636aba3a36bfc1cd80b9906d diff --git a/make-git-snapshot.sh b/make-git-snapshot.sh new file mode 100644 index 0000000..0bcb05a --- /dev/null +++ b/make-git-snapshot.sh @@ -0,0 +1,17 @@ +#!/bin/sh + +DIRNAME=libXtst-$( date +%Y%m%d ) + +rm -rf $DIRNAME +git clone git://git.freedesktop.org/git/xorg/lib/libXtst $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