Junio C Hamano wrote: > "Victoria Dye via GitGitGadget" <gitgitgadget@xxxxxxxxx> writes: > >> +#define TEST_TOOL_CHECK_URL_USAGE \ >> + "test-tool submodule check-url <url>" >> +static const char *submodule_check_url_usage[] = { >> + TEST_TOOL_CHECK_URL_USAGE, >> + NULL >> +}; > > Granted, the entry that follows this new one already uses the same > pattern, but TEST_TOOL_CHECK_URL_USAGE being used only once here and > nowhere else, with its name almost as long as the value it expands to, > I found it unnecessarily verbose and confusing. This is only used once because I missed the second place it should be used (in 'submodule_usage[]'). It's still somewhat verbose, but once I fix that it'll at least have the benefit of avoiding some duplication.