Re: [PATCH 2/2] Add support for GIT_CEILING_DIRS
From: Kevin Ballard <hidden>
Date: 2016-06-15 22:44:36
On May 14, 2008, at 3:23 AM, Johannes Schindelin wrote:
quoted
@@ -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? I think I started programming roughly 10 years ago (granted, I didn't start with C, but I did C programming at least 8 years ago, if not earlier) and every environment I've ever used has supported those comments even in C89 mode. I mean, I fully understand that git wants to be portable across all platforms, but it still makes me wonder if there's any environment that anybody actually uses these days that doesn't understand those comments when compiling C. -- Kevin Ballard http://kevin.sb.org kevin@sb.org http://www.tildesoft.com