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

Re: [PATCH 2/2] Add support for GIT_CEILING_DIRS

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
May 14, 2008, 17:02 UTC
Message-ID
<alpine.DEB.1.00.0805141759120.30431@racer>
In-Reply-To
<D2EA6017-4607-4A55-8C72-CD2B772CAAE4@sb.org>
Hi,
On Wed, 14 May 2008, Kevin Ballard wrote:
Show 12 quoted lines
> On May 14, 2008, at 3:23 AM, Johannes Schindelin wrote:
> 
> > >@@ -414,6 +415,37 @@ const char *setup_git_directory_gently(int *nongit_ok)
> > > if (!getcwd(cwd, sizeof(cwd)-1))
> > >  die("Unable to read current working directory");
> > >
> > >+	// Compute min_offset based on GIT_CEILING_DIRS.
> >
> >We do not like C99 style comments.  Remember, there are people who compile
> >Git on something else than the super-latest Linux with cutting-edge GCC.
> 
> Out of curiosity, what environment these days doesn't allow C99 comments?

On an SGI/IRIX machine I was working some time ago, GCC was too big for my quota. And the admin was not willing to install it.

But I have to wonder: why argue something as C99 comments, when it is _no problem_ whatsoever to replace them with C89-style comments, especially given the fact that this makes our source code more consistent and thus easier on the eye?

Ciao, Dscho

Previous: Kevin BallardNext: Kevin Ballard
Message 5 of 6 in “Add support for GIT_CEILING_DIRS”
  1. 2/2 Add support for GIT_CEILING_DIRSDavid Reiss, May 14, 2008
  2. Johannes SchindelinMay 14, 2008
  3. Johannes SixtMay 14, 2008
  4. Kevin BallardMay 14, 2008
  5. Johannes SchindelinMay 14, 2008
  6. Kevin BallardMay 14, 2008

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.