git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] config.c: remove unnecessary header in minimum configuration file.

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Dec 5, 2005, 21:05 UTC
Message-ID
<Pine.LNX.4.63.0512052202300.12016@wbgn013.biozentrum.uni-wuerzburg.de>
In-Reply-To
<7vek4rb6vc.fsf@assigned-by-dhcp.cox.net>
Hi,
On Mon, 5 Dec 2005, Junio C Hamano wrote:
Show 7 quoted lines
> Johannes Schindelin <Johannes.Schindelin@gmx.de> 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

Previous: Junio C HamanoNext: Junio C Hamano
Message 6 of 8 in “config.c: remove unnecessary header in minimum configuration file.”
  1. config.c: remove unnecessary header in minimum configuration file.Junio C Hamano, Nov 25, 2005
  2. Junio C HamanoDec 5, 2005
  3. Andreas EricssonDec 5, 2005
  4. Johannes SchindelinDec 5, 2005
  5. Junio C HamanoDec 5, 2005
  6. Johannes SchindelinDec 5, 2005
  7. Junio C HamanoDec 5, 2005
  8. Johannes SchindelinDec 5, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.