Thread (5 messages) 5 messages, 3 authors, 2005-09-04

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

From: David Woodhouse <dwmw2@infradead.org>
Date: 2005-09-02 08:23:33
Also in: lkml

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help