From: Adam Mercer Date: Wed, 11 Aug 2010 19:59:03 GMT Subject: Re: Using filter-branch to move repo contents in subdirectory Message-ID: In-Reply-To: <20100811193214.GB8106@coredump.intra.peff.net> On Wed, Aug 11, 2010 at 14:32, Jeff King wrote: > It looks like git-update-index will not create $GIT_INDEX_FILE at all if > you have no actual input lines to --index-info. So perhaps you have some > commit in your repo that has no actual content in it. Either that or > for some reason your "ls-files -s | gsed" invocation is producing no > output. Yep, that was the problem. I'd been modifying the history with several git filter-branch calls and the initial commit in the repo was empty. Getting rid of this initial empty commit allowed the command to run. Cheers Adam