Re: RCS keyword expansion
- From
Randal L. Schwartz <merlyn@stonehenge.com>
- Date
- Oct 11, 2007, 15:09 UTC
- Message-ID
- <86fy0hvgbh.fsf@blue.stonehenge.com>
- In-Reply-To
- <Pine.LNX.4.64.0710111542420.23849@ds9.cixit.se>
>>>>> "Peter" == Peter Karlsson <peter@softwolves.pp.se> writes:
Peter> I mainly want to have $Date$ expand in RCS/CVS manner, i.e to when the Peter> file was last changed. Possibly even have an $Id$ that gives me Peter> something useful (name and commit hash, perhaps?). Is it possible to do Peter> this? Can it be done through git-cvsserver?
That's not a job for a source code manager to do. It's a job for your build/install tool. See how "git --version" gets created in the core distro, and follow that example.
-- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/> Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!