Re: [PATCH v2 1/2] format-patch: add ability to use alt cover format From: Junio C Hamano <hidden> Date: 2026-02-24 20:25:29 Mirko Faina [off-list ref] writes: + char *cover_letter_fmt = NULL; ... + + if (cover_letter && !cover_letter_fmt) + cover_letter_fmt = "shortlog"; The compiler flags the above assignment, which is understandable. builtin/log.c:2442:34: error: assignment discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers] 2442 | cover_letter_fmt = "shortlog";
Keyboard shortcuts hback out one level jnext message in thread kprevious message in thread ldrill in Escclose help / fold thread tree ?toggle this help