Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261780AbVDWUVi (ORCPT ); Sat, 23 Apr 2005 16:21:38 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261777AbVDWUVh (ORCPT ); Sat, 23 Apr 2005 16:21:37 -0400 Received: from fire.osdl.org ([65.172.181.4]:37290 "EHLO smtp.osdl.org") by vger.kernel.org with ESMTP id S261772AbVDWUVd (ORCPT ); Sat, 23 Apr 2005 16:21:33 -0400 Date: Sat, 23 Apr 2005 13:23:18 -0700 (PDT) From: Linus Torvalds To: Junio C Hamano cc: Sean , Thomas Glanzmann , David Woodhouse , Jan Dittmer , Greg KH , Kernel Mailing List , Git Mailing List Subject: Re: Git-commits mailing list feed. In-Reply-To: <7vis2d2rmv.fsf@assigned-by-dhcp.cox.net> Message-ID: References: <200504210422.j3L4Mo8L021495@hera.kernel.org> <42674724.90005@ppp0.net> <20050422002922.GB6829@kroah.com> <426A4669.7080500@ppp0.net> <1114266083.3419.40.camel@localhost.localdomain> <426A5BFC.1020507@ppp0.net> <1114266907.3419.43.camel@localhost.localdomain> <20050423175422.GA7100@cip.informatik.uni-erlangen.de> <2911.10.10.10.24.1114279589.squirrel@linux1> <7vis2d2rmv.fsf@assigned-by-dhcp.cox.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1376 Lines: 33 On Sat, 23 Apr 2005, Junio C Hamano wrote: > > If that is the case, can't you do it without introducing this > new tag object, like this? No, because I also want to sign the _name_ I gave it. Otherwise somebody can take my "signed commit", and claim that I called it something else. Just signing the commit is indeed sufficient to just say "I trust this commit". But I essentially what to also say what I trust it _for_ as well. And sure, I could make a totally bogus "commit" object that just points to the original commit, uses the same "tree" from that original commit, and write what I want to trust into that commit. I then sign that, and create yet _another_ commit that has the signature (and the pointer to the just signed commit) in its commit message, and then I point to _that_ commit. So yes, we can certainly do this with playing games with commits. That sounds singularly ugly, though, since just doing a "tag" object is a lot more straightforward, and really tells the world what's going on (and makes it easy for automated tools to just browse the object database and see "that's a tag"). Linus - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/