Re: Script to backdate tags

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

 



Junio C Hamano <gitster@xxxxxxxxx> writes:

> Michael Olson <mwolson@xxxxxxx> 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.)

-- 
       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 |

Attachment: pgpfcyoBtQMpq.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