From: Linus Torvalds Date: Mon, 18 Apr 2005 22:01:08 GMT Subject: Re: Re-done kernel archive - real one? Message-ID: In-Reply-To: <20050418225356.B16789@flint.arm.linux.org.uk> On Mon, 18 Apr 2005, Russell King wrote: > > > > # 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