From: Johannes Sixt Date: Fri, 12 Oct 2007 11:05:14 GMT Subject: Re: RCS keyword expansion Message-ID: <470F54EA.4000305@viscovery.net> In-Reply-To: Peter Karlsson schrieb: >> 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