Thread (19 messages) flat view 19 messages, 3 authors, 2016-06-15

Re: Store autocrlf during init-db (was [msysGit] autocrlf problems with Git-preview20080301.exe)

From: Dmitry Potapov <hidden>
Date: 2016-06-15 22:44:25

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help