2005-09-02 08:23:33

by David Woodhouse

[permalink] [raw]
Subject: Re: empty patch-2.6.13-git? patches on ftp.kernel.org

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



2005-09-02 09:00:11

by Linus Torvalds

[permalink] [raw]
Subject: Re: empty patch-2.6.13-git? patches on ftp.kernel.org



On Fri, 2 Sep 2005, David Woodhouse wrote:
>
> 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

2005-09-02 09:21:58

by David Woodhouse

[permalink] [raw]
Subject: Re: empty patch-2.6.13-git? patches on ftp.kernel.org

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..

OK, done.

--
dwmw2


2005-09-04 15:32:44

by Jan Dittmer

[permalink] [raw]
Subject: Re: empty patch-2.6.13-git? patches on ftp.kernel.org

David Woodhouse wrote:
> 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..
>
>
> OK, done.
>

-git4 is again empty

patch-2.6.13-git4.bz2 03-Sep-2005 02:03 14
[ ] patch-2.6.13-git4.bz2.sign 03-Sep-2005 02:03 248
[ ] patch-2.6.13-git4.gz 03-Sep-2005 02:03 20
[ ] patch-2.6.13-git4.gz.sign 03-Sep-2005 02:03 248
[ ] patch-2.6.13-git4.id 03-Sep-2005 02:01 41
[ ] patch-2.6.13-git4.log 03-Sep-2005 02:03 526K
[ ] patch-2.6.13-git4.sign 03-Sep-2005 02:03 248

--
Jan

2005-09-04 15:56:18

by David Woodhouse

[permalink] [raw]
Subject: Re: empty patch-2.6.13-git? patches on ftp.kernel.org

On Sun, 2005-09-04 at 17:31 +0200, Jan Dittmer wrote:
> David Woodhouse wrote:
> > 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..
> >
> >
> > OK, done.
> >
>
> -git4 is again empty

Hm, yes.

+ rm -rf tmp-empty-tree
+ mkdir tmp-empty-tree
+ cd tmp-empty-tree
+ git-init-db
/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/branches/: Permission denied
+ unset GIT_DIR
+ git-read-tree f505380ba7b98ec97bf25300c2a58aeae903530b
fatal: unable to create new cachefile

Fixed now; thanks.

--
dwmw2