Subject: Re: [PATCH] Makefile: drop GEN_HDRS

From: Jonathan Nieder <[email-masked]>
Date: Mon, 16 Dec 2019 17:43:21 -0800

Jeff King wrote:

> I actually wonder if the whole thing would be simpler if command-list.h
> was a static tracked file with the declarations, and we generated
> command-list.c with "extern const char *command_list[]", etc.

Right, or a "command-list.inc" file.

extern-ing it seems like the simplest way to go.

Thanks,
Jonathan