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

Re: [PATCH] git-gui: Add option for changing the width of the commit message text box

From
Shawn O. Pearce <spearce@spearce.org>
Date
Mar 8, 2008, 02:00 UTC
Message-ID
<20080308020026.GV8410@spearce.org>
In-Reply-To
<1204832320-22800-1-git-send-email-ediap@users.sourceforge.net>
Adam Pityszek <ediap@users.sourceforge.net> wrote:
Show 9 quoted lines
> The width of the commit message text area is currently hard-coded
> to 75 characters. This value might be not optimal for some projects.
> For instance users who would like to generate GNU-style ChangeLog
> file from git commit message might prefer commit messages of width
> no longer than 70 characters.
> 
> This patch adds a global and per repository option "Commit Message
> Text Width", which could be used to change the width of the commit
> message text area.
Thanks.
 
> Ideally, I would like to have an automated line wrapping in the commit
> message text area. Unfortunately the "-wrap words" switch only wraps the
> lines for displaying purposes and this has no effect on the committed message
> itself.
 
Yea, I fought with that myself for a while and just settled on
a 75 character wide text area.
-- 
Shawn.
Previous: Adam Piątyszek
Message 2 of 2 in “git-gui: Add option for changing the width of the commit message text box”
  1. git-gui: Add option for changing the width of the commit message text boxAdam Piątyszek, Mar 6, 2008
  2. Shawn O. PearceMar 8, 2008

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.