Re: git checkout does not warn about tags without corresponding commits

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jan 02, 2009 at 01:25:57PM +0100, Henrik Austad <henrik@xxxxxxxxx> wrote:
> I can see that there's no commit for this, but, when there's a tag. I thought 
> that a tag was just a commit-sha1 with a name attached, along with some tag 
> info and a signature. Can you really create a tag without a commit?

Sure, you can tag any object type (blob, tree, commit or tag), but
usually only commits are tagged.

See for example the 'junio-gpg-pub' tag in git.git which tags a blob.

Attachment: pgpkSvPtMHVEq.pgp
Description: PGP signature


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux