http://www.perlmonks.org?node_id=595419


in reply to replacing rcs tags in perl

This might be way off ... is there a possibility for adding a checkin hook in git? This would feel like the natural place for doing stuff like replacing RCS tags - and you wouldn't have to worry about finding all the files and such.

-- Hofmator

Code written by Hofmator and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.

Replies are listed 'Best First'.
Re^2: replacing rcs tags in perl
by jettero (Monsignor) on Jan 19, 2007 at 11:18 UTC

    You are definitely correct.

    The problem is: I find that git is completely unusable without cogito (checkins would be 3 or 5 commands) and cogito doesn't execute pre-commit hooks, only post for some unknown reason.

    -Paul