From: Morten Welinder Date: Wed, 11 May 2005 18:31:48 GMT Subject: Re: "git-checkout-cache -f -a" failure Message-ID: <118833cc050511113122e2d17d@mail.gmail.com> In-Reply-To: <7vsm0us5p5.fsf@assigned-by-dhcp.cox.net> Here's the symlink version. Note, that git does not complain but simply creates (or overwrites) the wrong file. Morten cd /tmp mkdir xxx cd xxx rm -rf .git dir yyy mkdir dir touch dir/empty cg-init .git/HEAD git-read-tree -m HEAD git-checkout-cache -f -a ln -s dir yyy git-update-cache --add -- yyy cg-commit