It's very unlikely that management will get rid of him if he is really bright.
The whole project may be closed, of course, but there will be no use in CVS and documentation then, anyway.
No management will fire a good programmer only to hire a bad one.
Tell him that it will help him to get rid of management whenever he wants to.
What is he wants to change job? He can tell management: "OK, people, everything's just like you asked me: checked in, documented and under you control. I'm done with my part, I pack and leave".