From: Pratyush Yadav Date: Mon, 22 Feb 2021 14:51:37 GMT Subject: Re: [PATCH v2] git-gui: remove lines starting with the comment character Message-ID: <20210222145137.b7lmgzpmm5q4m2qf@yadavpratyush.com> In-Reply-To: <20210218181937.83419-1-me@yadavpratyush.com> On 18/02/21 11:49PM, Pratyush Yadav wrote: > The comment character is specified by the config variable > 'core.commentchar'. Any lines starting with this character is considered > a comment and should not be included in the final commit message. > > Teach git-gui to filter out lines in the commit message that start with > the comment character using git-stripspace. If the config is not set, > '#' is taken as the default. Also add a message educating users about > the comment character. > > Signed-off-by: Pratyush Yadav Applied to git-gui/master. -- Regards, Pratyush Yadav