Ok, if tags are standalone objects then I don't see how they get propagated. Right now all I need to do to pull a version from a remote repository is to get the commit object and everything it depends on. Any tags involved would not be pulled as there are no dependencies from the commit object to the tag. Thats why I was asking whether they are part of any tree or not. So how do we want to do this? Maybe a file TAGS right next to HEAD that lists all active tags in my tree by SHA1 hash? Or maybe make tags a linked list, with all tags refering to some parent tag? That would give a nice list to walk back to find older tags (again, we use something like TAG as root). Andreas On Mon, 25 Apr 2005, Linus Torvalds wrote: > > > On Mon, 25 Apr 2005, Andreas Gal wrote: > > > > Are tag objects referenced by trees (and thus limited in scope) or are > > they stand-alone entities in the repository? The latter would be bad for > > shared object storages. > > They are totally stand-alone, and I don't see why that would be bad for > shared object storage. > > In fact, the whole point of them is that since they are named by the SHA1 > hash of the content, there are no shared object issues. Two different tags > by two different developers will have different names, exactly the same > way two different releases will have different names. > > And if two different developers tag exactly the same object with exactly > the same tag-name and exactly the same signature, then they get the same > tag object, and that's fine. They should. > > > Also, if I delete and recreate tags, will the old tag remain in the tree > > or will the file in the object storage disapear? > > Tags in no way affect the entry they name. When you remove - or add - a > tag object, nothing happens to anything else. > > Linus > - > To unsubscribe from this list: send the line "unsubscribe git" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.htmlReceived on Tue Apr 26 07:47:19 2005
This archive was generated by hypermail 2.1.8 : 2005-04-26 07:47:20 EST