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

Re: What's cooking in git.git (Jul 2022, #08; Fri, 29)

From
Jeff King <peff@peff.net>
Date
Jul 31, 2022, 00:29 UTC
Message-ID
<YuXM4pmsuDzIqbQT@coredump.intra.peff.net>
In-Reply-To
<xmqq7d3v33to.fsf@gitster.g>
On Fri, Jul 29, 2022 at 04:18:59PM -0700, Junio C Hamano wrote:
Show 10 quoted lines
> * jk/struct-zero-init-with-older-gcc (2022-07-29) 1 commit
>  - config.mak.dev: squelch -Wno-missing-braces for older gcc
> 
>  Older gcc with -Wall complains about the universal zero initializer
>  "struct s = { 0 };" idiom, which makes developers' lives
>  inconvenient (as -Werror is enabled by DEVELOPER=YesPlease).  The
>  build procedure has been tweaked to help them with thes compilers.
> 
>  Will merge to 'next'.
>  source: <YuQ60ZUPBHAVETD7@coredump.intra.peff.net>

If you get a chance before merging, can you please squash in this typo-fix?

diff --git a/config.mak.dev b/config.mak.dev
index b9878a4994..4fa19d361b 100644
--- a/config.mak.dev
+++ b/config.mak.dev
@@ -60,7 +60,7 @@ endif
 # uninitialized warnings on gcc 4.9.2 in xdiff/xdiffi.c and config.c
 # not worth fixing since newer compilers correctly stop complaining
 #
-# Likwise, gcc older than 4.9 complains about initializing a
+# Likewise, gcc older than 4.9 complains about initializing a
 # struct-within-a-struct using just "{ 0 }"
 ifneq ($(filter gcc4,$(COMPILER_FEATURES)),)
 ifeq ($(filter gcc5,$(COMPILER_FEATURES)),)

Thanks.

-Peff
Previous: Junio C HamanoNext: Junio C Hamano
Message 2 of 5 in “What's cooking in git.git (Jul 2022, #08; Fri, 29)”
  1. Junio C HamanoJul 29, 2022
  2. Jeff KingJul 31, 2022
  3. Junio C HamanoJul 31, 2022
  4. ab/leak-check (was: What's cooking in git.git (Jul 2022, #08; Fri, 29))Ævar Arnfjörð Bjarmason, Aug 1, 2022
  5. Junio C HamanoAug 1, 2022

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.