From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Olson Subject: Re: Script to backdate tags Date: Sun, 30 Sep 2007 02:27:33 -0400 Message-ID: <87hclck6qy.fsf@hariken.mwolson.org> References: <87bqbklu5r.fsf@hariken.mwolson.org> <871wcglqrg.fsf@hariken.mwolson.org> <7vps00ivgh.fsf@gitster.siamese.dyndns.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Cc: Junio C Hamano To: git@vger.kernel.org X-From: git-owner@vger.kernel.org Sun Sep 30 09:08:38 2007 Return-path: Envelope-to: gcvg-git-2@gmane.org Received: from vger.kernel.org ([209.132.176.167]) by lo.gmane.org with esmtp (Exim 4.50) id 1Ibsur-0004pe-TL for gcvg-git-2@gmane.org; Sun, 30 Sep 2007 09:08:38 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752663AbXI3HIb (ORCPT ); Sun, 30 Sep 2007 03:08:31 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752584AbXI3HIa (ORCPT ); Sun, 30 Sep 2007 03:08:30 -0400 Received: from main.gmane.org ([80.91.229.2]:37729 "EHLO ciao.gmane.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752488AbXI3HI3 (ORCPT ); Sun, 30 Sep 2007 03:08:29 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1IbsuS-0004pd-At for git@vger.kernel.org; Sun, 30 Sep 2007 07:08:12 +0000 Received: from pool-72-69-4-31.sbndin.dsl-w.verizon.net ([72.69.4.31]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 30 Sep 2007 07:08:12 +0000 Received: from mwolson by pool-72-69-4-31.sbndin.dsl-w.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 30 Sep 2007 07:08:12 +0000 X-Injected-Via-Gmane: http://gmane.org/ X-Complaints-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VB9o ZCtlaEiLjWygm2GqrI3KzKzw8uT299LIfLKqAAAB6UlEQVR42r3TPW/TQBgH8MeJTmI82yIqTLGN K2WjvvgTYKnrYXrBKQupVFPBRAl4hSFVX5bCEOVlaZFAijOxoFj35bhzHPucdOa/WL6fnsfPyXfA iszSNF2csjJQPHtpOopm6WgHWCRL0sUuMDe+nF6ePgBb+a/guuFDEB4FhHjuLjxLhoEgexucbpAk SRAEbh1Ch3SD4FDYUIHQDYmMIBG/AtqwiRK3akUdFTajCWiKV7MEjEoQBQd6CT5TAd8Soss6QwEx k4fuTaLLZUw8Bbz2o78NsvfS1MlzUwUD9sY6eXKuY+fAIBV4oA30/WbrW4hNT6sqmAUwn3QsS3+M G55mV/tog3bSf/O1Ne1QjYBTAQXEOjc/0dnxLzCwWQFA7+7pfKUNooxq2FCA9u+vOd/Ho+Ut6M0K EDtecM6vBin/YzU3W1+DWOfZZMa/n4DvK38wB5kfvbZvq7AsYBW93ZyiHPrLq/kazqihHoZoma1h PAFlKpGiU3ZhQaMGN3w6FTUrDKCpQKN1xVgAqN8A9iHv9EWsA6oBEo2yd58lgAKIQotncSIBFSWb llocJ8k5AEVsC16LI/0xB3XcV8SWICpYDVxxtCR8clkN4mTY7SYSbPXihNe/5WXKIQgVeJ8uxE16 IWF4mJTyDwQ7dvZPMjJ6AAAAAElFTkSuQmCC User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (gnu/linux) Cancel-Lock: sha1:LhHEqPEEllJ+Yu/et91uO3Fdx0A= Sender: git-owner@vger.kernel.org Precedence: bulk X-Mailing-List: git@vger.kernel.org Archived-At: --=-=-= Content-Transfer-Encoding: quoted-printable Junio C Hamano writes: > Michael Olson writes: > >> After importing one of my projects from Arch, I wanted to add tags >> that indicated its major releases. Unfortunately, these tags for >> older releases would show up before the more recent releases in the >> gitweb output. I searched in vain for a way of backdating tags, and >> finally decided to make a script to do this for me. Here it is. > > Wouldn't it be easier to create the tag with the desired > timestamp from the beginning, by exporting GIT_COMMITTER_DATE? Ah, I didn't know about that environment variable. Would it be possible to mention that option on the git-tag manpage? Backdating tags is very handy for projects which are converting their entire history from another VCS to git, and wish to denote releases that were not previously tagged. (Making a separate Arch branch for every single release was such a hassle that I didn't bother with it. Git is much nicer in that area with its concept of tags and tag objects.) =2D-=20 Michael Olson -- FSF Associate Member #652 | http://mwolson.org/ -- Jabber: mwolson_at_hcoop.net | /` |\ | | | Sysadmin -- Hobbies: Lisp, GP2X, HCoop | |_] | \| |_| Projects: Emacs, Muse, ERC, EMMS, ErBot, DVC, Planner | --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFG/0Ha+1Ho2POo0xkRAn1VAKCRcaEDLY/MJ2Aw4yKneXcEaq32xwCfXPtZ rQtwBot7NfxLZ/0L+7lEd+0= =hVIp -----END PGP SIGNATURE----- --=-=-=--