From mboxrd@z Thu Jan 1 00:00:00 1970 From: Angelo Borsotti Subject: Re: git push tags Date: Mon, 29 Oct 2012 08:13:36 +0100 Message-ID: References: <508D7628.10509@kdbg.org> <4B8097A9D6854CDFA27E7CF6574B37BA@PhilipOakley> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Cc: Chris Rorvick , Johannes Sixt , git To: Philip Oakley X-From: git-owner@vger.kernel.org Mon Oct 29 08:13:51 2012 Return-path: Envelope-to: gcvg-git-2@plane.gmane.org Received: from vger.kernel.org ([209.132.180.67]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TSjXi-0001MB-Ee for gcvg-git-2@plane.gmane.org; Mon, 29 Oct 2012 08:13:50 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752958Ab2J2HNi (ORCPT ); Mon, 29 Oct 2012 03:13:38 -0400 Received: from mail-pb0-f46.google.com ([209.85.160.46]:50827 "EHLO mail-pb0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751661Ab2J2HNh (ORCPT ); Mon, 29 Oct 2012 03:13:37 -0400 Received: by mail-pb0-f46.google.com with SMTP id rr4so4065826pbb.19 for ; Mon, 29 Oct 2012 00:13:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=HKzcktnoytv0flPZkcp3q54xLh5oIxA6ekSUu1uQHXo=; b=0wCqxfZrKEWsMQJ9kGEfM9fthmiwDS5QroTm/TTEsvPc8toVqWHdnfd5ViXaTTaNrM pOHrlqYnm0enpm5wxochyLbUhJgnO8o1YfVCF0X/NSE6ghcX6AKQ/SODIR8TBvNMKLHn kiW0YMhe9ZjsluTY1uyb/o7kIKShb0KPTPJfRmY4rAFMVUBNXLoP9OH+Qm/Hs4nJpXcY c7TwnU7mWQpJ7wF428IexmlBtb4M7mkkEEB+vDtsBc9B1Gau7HPluOLyUqRc+mpu6T3A ByhMxW3RsYu89kb67LDI92BpTVJC1i3E72X1DlYZckSuInWL9VaFuaQ6SmNQ/Kwsgyb0 GWeg== Received: by 10.66.88.4 with SMTP id bc4mr80847219pab.42.1351494816803; Mon, 29 Oct 2012 00:13:36 -0700 (PDT) Received: by 10.67.3.101 with HTTP; Mon, 29 Oct 2012 00:13:36 -0700 (PDT) In-Reply-To: <4B8097A9D6854CDFA27E7CF6574B37BA@PhilipOakley> Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: Hi, Pro Git, By Scott Chacon says: 2.6 "Like most VCSs, Git has the ability to tag specific points in history as being important. Generally, people use this functionality to mark release points (v1.0, and so on)." 2.6.2: "A [lightweight] tag is very much like a branch that does not change ..." Clearly, tags are not the same as branches. They are there for a different purpose. If they were exactly the same as branches, there would be no need for them. Of course, they share some behaviors with branches, and there are several commands that handle them in the same way, but the key point is that they do not change, or at least they do not do that by default. The ability to force changes of tags is there only to correct tags that might have set tags to the wrong points by mistake. So, what I am telling is that this property must be preserved consistently across all commands, including git-push. -Angelo