On Mon, Mar 24, 2008 at 11:57:19AM +0100, Johannes Schindelin wrote:
> 
> I think I actually suggested something like that.  But that gets only even 
> more complicated: if you have a template for .git/config in 
> $HOME/.gittemplates/, then the global template will be _disregarded_, even 
> if the administrator puts something vital in there.

Maybe, because I cannot imagine what so vital the administrator can put
in it, I really do not see that as a problem. I believe that any good
administrator should notify all users about any vital changes anyway, 
because if these changes are vital, it may be necessary not only change
templates in $HOME/.gittemplates/ (which very few users will probably
have), but perhaps also in existing repositories...

> 
> Maybe the best idea would be an "init" hook, settable from the config, 
> after all.

I agree that seems to be the best solution as it is more flexible than
having $HOME/.gittemplates/.

Dmitry

Reply via email to