GIT repositories: autogen.sh

Brian J. Tarricone bjt23 at cornell.edu
Fri Dec 28 15:53:39 CET 2007


On Fri, 28 Dec 2007 13:24:31 +0100 Benedikt Meurer wrote:

> Jasper Huijsmans wrote:

> > +  revision=`LC_ALL=C awk '/branches-maxRev/ { printf "%05d\n",
> > $3 }' .git/svn/.metadata`

> if test -d .git/svn; then
>   revision=`LC_ALL=C git-svn find-rev HEAD`

I'd been using

git-svn log | head -n 2 | tail -n 1 | cut -d' ' -f1 | cut -dr -f2

I guess Benny's is better ^_~.

	-brian



More information about the Xfce4-dev mailing list