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

Re: [PATCH] git gui: visually wrap lines of commit message

From
Clemens Buchacher <drizzd@aon.at>
Date
Aug 9, 2008, 22:41 UTC
Message-ID
<20080809224150.GA21530@localhost>
In-Reply-To
<200808100014.13408.johannes.sixt@telecom.at>
On Sun, Aug 10, 2008 at 12:14:13AM +0200, Johannes Sixt wrote:
Show 6 quoted lines
> > Currently you don't see the whole message anyways if the box is too small
> > for the text. I find that quite annoying, especially since there are
> > neither keys nor a scrollbar to scroll horizontally.
> 
> In this case, I use the middle mouse button to pan around. And then I do
> see what I will get.

Ok, that's not bad. But nevertheless I think we should at least add a scrollbar.

> The width of the box was chosen wisely: It takes a bit less than 80
> columns, to leave room for quoting in emails and to avoid wrapping of git
> log output.

Maybe I'm doing something wrong, but on my system (wish8.5) the box width changes with the window size, and gui.commitmsgwidth appears to be ignored. Even if I close and restart git gui, the old window size is kept.

Clemens
Previous: Johannes SixtNext: Shawn O. Pearce
Message 5 of 9 in “git gui: visually wrap lines of commit message”
  1. git gui: visually wrap lines of commit messageClemens Buchacher, Aug 9, 2008
  2. Johannes SixtAug 9, 2008
  3. Clemens BuchacherAug 9, 2008
  4. Johannes SixtAug 9, 2008
  5. Clemens BuchacherAug 9, 2008
  6. Shawn O. PearceAug 10, 2008
  7. Lars NoschinskiAug 10, 2008
  8. Shawn O. PearceAug 10, 2008
  9. Clemens BuchacherAug 10, 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.