Re: RCS keyword expansion
- From
Johannes Sixt <j.sixt@viscovery.net>
- Date
- Oct 12, 2007, 11:05 UTC
- Message-ID
- <470F54EA.4000305@viscovery.net>
- In-Reply-To
- <Pine.LNX.4.64.0710121144001.3682@ds9.cixit.se>
Peter Karlsson schrieb:
Show 6 quoted lines
>> If it's not what you want, I suggest rethinking what you want ;-) >> Otherwise it is scripting time for you. It's easy enough with git. > > That's what I'm trying to figure out. I assume it would be possible to > do with some kind of hook that is run on checkout. But I can't figure > out how to do that.
Read about the 'filter' attribute (clean and smudge filters), e.g. here: http://www.kernel.org/pub/software/scm/git/docs/gitattributes.html
This is the place to tie a script to checkouts. How the scripts derive the information that they put in the checked-out files, is a different matter.
-- Hannes