From: David Woodhouse Date: Fri, 02 Sep 2005 08:23:09 GMT Subject: Re: empty patch-2.6.13-git? patches on ftp.kernel.org Message-ID: <1125649389.6928.19.camel@baythorne.infradead.org> In-Reply-To: On Wed, 2005-08-31 at 15:34 +0200, Tomasz K³oczko wrote: > Seems patches stored on ftp://ftp.kernel.org/pub/linux/kernel/v2.6/snapshots > are empty (only logs are correct): > -rw-r--r-- 1 536 536 20 Aug 30 09:01 patch-2.6.13-git1.gz > -rw-r--r-- 1 536 536 20 Aug 31 09:01 patch-2.6.13-git2.gz Hm. git-diff-cache now refuses to operate unless there's a local '.git/refs' directory, even when working with a separate object directory. So this doesn't work any more... rm -rf tmp-empty-tree mkdir -p tmp-empty-tree/.git cd tmp-empty-tree git-read-tree $CURCOMM git-checkout-cache Makefile perl -pi -e "s/EXTRAVERSION =.*/EXTRAVERSION = $EXTRAVERSION/" Makefile git-diff-cache -m -p $RELTREE | gzip -9 > $STAGE/patch-$CURNAME.gz I've changed the script to create 'tmp-empty-tree/.git/refs' and replaced 2.6.13-git[12] with real patches. > Also it will be good move all patch-2.6.12* and patch-2.6.13-rc* files > from this directory to old subdirectory. Done. -- dwmw2