git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH v2] git-gui: remove lines starting with the comment character

From
Pratyush Yadav <me@yadavpratyush.com>
Date
Feb 22, 2021, 14:51 UTC
Message-ID
<20210222145137.b7lmgzpmm5q4m2qf@yadavpratyush.com>
In-Reply-To
<20210218181937.83419-1-me@yadavpratyush.com>
On 18/02/21 11:49PM, Pratyush Yadav wrote:
Show 10 quoted lines
> 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 <me@yadavpratyush.com>
Applied to git-gui/master.
-- 
Regards,
Pratyush Yadav
Previous: Pratyush YadavNext: Eric Sunshine
Message 2 of 3 in “git-gui: remove lines starting with the comment character”
  1. git-gui: remove lines starting with the comment characterPratyush Yadav, Feb 18, 2021
  2. Pratyush YadavFeb 22, 2021
  3. Eric SunshineFeb 28, 2021

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.