From: Sven Verdoolaege Date: Sun, 23 Oct 2005 11:59:39 GMT Subject: Re: git and gitweb inconsistencies Message-ID: <20051023115939.GG8383MdfPADPa@greensroom.kotnet.org> In-Reply-To: <20051023001412.GA22679@pe.Belkin> On Sat, Oct 22, 2005 at 08:14:12PM -0400, Chris Shoemaker wrote: > A few days later, I ran git-cvsimport again, with -i. This imported > just the recent changes, but the view from gitweb didn't change. :( Are you sure you didn't just create a new import *inside* the old import ? Do you have, say, both an 'objects' and a '.git/objects' directory ? > $ echo `git-rev-list tip --max-count=1` > refs/heads/mytest > $ git-cat-file -t `cat refs/heads/mytest` That should be git-update-ref refs/heads/mytest tip (the new head will appear in .git/refs/heads/mytest, unless you've set GIT_DIR) git-cat-file -t mytest skimo