Re: empty patch-2.6.13-git? patches on ftp.kernel.org

From: David Woodhouse
Date: Fri Sep 02 2005 - 03:27:30 EST


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


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/