From: Sven Verdoolaege Date: Tue, 27 Sep 2005 06:54:37 GMT Subject: Re: Cogito: cg-clone doesn't like packed tag objects Message-ID: <20050927065436.GL15165MdfPADPa@greensroom.kotnet.org> In-Reply-To: <20050926212536.GF26340@pasky.or.cz> On Mon, Sep 26, 2005 at 11:25:36PM +0200, Petr Baudis wrote: > So the strategy I'm thinking of now is to manually (I think no GIT tool > can do that for me) dereference the possible tag chain until I end up at > some non-tag object. If it _is_ a commit, you could use git-rev-list --max-count=1 $tag It won't help you though if it isn't. skimo