From: David Woodhouse <dwmw2@infradead.org> Date: 2005-09-02 08:23:33
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.
rm -rf tmp-empty-tree
mkdir -p tmp-empty-tree/.git
cd tmp-empty-tree
Ahh. Please change that to
rm -rf tmp-empty-tree
mkdir tmp-empty-tree
cd tmp-empty-tree
git-init-db
because otherwise you'll almost certainly hit something else later on..
Linus
From: David Woodhouse <dwmw2@infradead.org> Date: 2005-09-02 09:21:58
On Fri, 2005-09-02 at 02:00 -0700, Linus Torvalds wrote:
Ahh. Please change that to
rm -rf tmp-empty-tree
mkdir tmp-empty-tree
cd tmp-empty-tree
git-init-db
because otherwise you'll almost certainly hit something else later
on..
From: Jan Dittmer <hidden> Date: 2005-09-04 15:32:44
David Woodhouse wrote:
On Fri, 2005-09-02 at 02:00 -0700, Linus Torvalds wrote:
quoted
Ahh. Please change that to
rm -rf tmp-empty-tree
mkdir tmp-empty-tree
cd tmp-empty-tree
git-init-db
because otherwise you'll almost certainly hit something else later
on..
From: David Woodhouse <dwmw2@infradead.org> Date: 2005-09-04 15:56:18
On Sun, 2005-09-04 at 17:31 +0200, Jan Dittmer wrote:
David Woodhouse wrote:
quoted
On Fri, 2005-09-02 at 02:00 -0700, Linus Torvalds wrote:
quoted
Ahh. Please change that to
rm -rf tmp-empty-tree
mkdir tmp-empty-tree
cd tmp-empty-tree
git-init-db
because otherwise you'll almost certainly hit something else later
on..