From: Junio C Hamano Date: Tue, 03 Jun 2025 00:17:52 GMT Subject: Re: [PATCH v3] completion: make sed command that generates config-list.h portable. Message-ID: In-Reply-To: "Keller, Jacob E" writes: >> -----Original Message----- >> From: Collin Funk >> Sent: Monday, June 2, 2025 3:32 PM >> To: git@vger.kernel.org >> Cc: jn.avila@free.fr; Keller, Jacob E ; Collin Funk >> ; Corentin Garcia ; Junio C >> Hamano >> Subject: [PATCH v3] completion: make sed command that generates config-list.h >> portable. >> >> The OpenBSD 'sed' command does not support '\n' to represent newlines in >> sed expressions. This leads to the follow compiler error: >> >> In file included from builtin/help.c:15: >> ./config-list.h:282:18: error: use of undeclared identifier 'n' >> "gitcvs.dbUser",n "gitcvs.dbPass", >> ^ >> 1 error generated. >> gmake: *** [Makefile:2821: builtin/help.o] Error 1 >> >> We can fix this by documenting related configuration variables >> one-per-line instead of listing them separated by commas. This allows us >> to remove the unportable part of the sed expression in >> generate-configlist.sh. >> >> Signed-off-by: Collin Funk >> --- > > Reviewed-by: Jacob Keller Thanks, all.