Re: Re-done kernel archive - real one?
On Mon, 18 Apr 2005, Russell King wrote:
Show 11 quoted lines
> >
> > # Get the trees associated with those commits
> > common_tree=tree=$(cat-file commit $common | sed 's/tree //;q')
> > head_tree=tree=$(cat-file commit $head | sed 's/tree //;q')
> > merge_tree=tree=$(cat-file commit $merge | sed 's/tree //;q')
>
> This wants to be:
>
> common_tree=$(cat-file commit $common | sed 's/tree //;q')
> head_tree=$(cat-file commit $head | sed 's/tree //;q')
> merge_tree=$(cat-file commit $merge_head | sed 's/tree //;q')
Yup, I already fixed that in the current git version.
> > read-tree $merge_tree && checkout-cache -f -a
>
> Don't we want to do an update-cache --refresh here?
Yes. Thanks, added.
Linus