From: Johannes Schindelin Date: Mon, 05 Dec 2005 21:05:59 GMT Subject: Re: [PATCH] config.c: remove unnecessary header in minimum configuration file. Message-ID: In-Reply-To: <7vek4rb6vc.fsf@assigned-by-dhcp.cox.net> Hi, On Mon, 5 Dec 2005, Junio C Hamano wrote: > Johannes Schindelin writes: > > > However, you should also remove the header which is generated in init-db.c > > when it is determined that the file system does not respect the executable > > flag. > > I suspect that code is not there anymore. Oops. I missed that one (probably because it did not say anything about the filemode test in the shortlog). However, reading the code I am not satisfied. If there is no template for the config file, it does not test the filemode at all. In fact, it reverses my design: I did *not* touch an existing config file, but only created one if none existed. And if the filemode was not set, I threw the config file away. Ciao, Dscho