From: Jakub Narebski Date: Thu, 14 Sep 2006 19:48:40 GMT Subject: Re: nightly tarballs of git Message-ID: In-Reply-To: <20060914193616.GA32735@redhat.com> Dave Jones wrote: > I don't recall ever having done anything at all in the dir that > is being snapshotted. So the only thing that should be happening > is the side-effects of the script.  Here it is in its entirity.. > > DATE=`date +%Y-%m-%d` > > PROJ="git" > cd ~/git-trees > if [ -d $PROJ ]; then >   cd $PROJ Just in case I would add "git checkout master" here. >   git pull -n > else >   git clone -q git://git.kernel.org/pub/scm/git/git.git >   cd $PROJ > fi > snap=git-snapshot-$(date +"%Y%m%d") > git-tar-tree HEAD $snap | gzip -9 > $PROJ-$DATE.tar.gz And what is the HEAD? Perhaps you should say 'origin' here instead? -- Jakub Narebski Warsaw, Poland ShadeHawk on #git