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

Re: git-gui: Long lines in commit message gets hidden, no scrollbar appears

From
Birger Skogeng Pedersen <birger.sp@gmail.com>
Date
Sep 4, 2019, 05:42 UTC
Message-ID
<CAGr--=+UA04F8JtpN3b8SahYtVkYgR45j_xeb3759DrtQOY6rg@mail.gmail.com>
In-Reply-To
<20190902185819.fzf3lop6riiq6zja@yadavpratyush.com>
Hi Pratyush,
Just wanted to chime in on this one:
On Mon, Sep 2, 2019 at 8:58 PM Pratyush Yadav <me@yadavpratyush.com> wrote:
Show 5 quoted lines
> On second thought, wouldn't it make more sense to expand the commit
> message buffer instead? The point of resizing that pane is to see more
> of the commit message. So it makes more sense to make the commit message
> buffer take up all the vertical space, rather than making the scrollbar
> move.

I also think it makes sense to expand the commit message buffer. And how about automatic word wrapping? Should the user really have to care about the 72 character limit, while typing the commit message? I'm not sure what solution would be best.

Birger
Previous: Pratyush YadavNext: Pratyush Yadav
Message 14 of 18 in “git-gui: Long lines in commit message gets hidden, no scrollbar appears”
  1. Birger Skogeng PedersenSep 2, 2019
  2. Bert WesargSep 2, 2019
  3. Birger Skogeng PedersenSep 2, 2019
  4. Pratyush YadavSep 2, 2019
  5. Birger Skogeng PedersenSep 2, 2019
  6. Pratyush YadavSep 2, 2019
  7. Pratyush YadavSep 2, 2019
  8. Bert WesargSep 2, 2019
  9. Bert WesargSep 2, 2019
  10. Birger Skogeng PedersenSep 2, 2019
  11. Pratyush YadavSep 3, 2019
  12. Bert WesargSep 4, 2019
  13. Pratyush YadavSep 4, 2019
  14. Birger Skogeng PedersenSep 4, 2019
  15. Pratyush YadavSep 4, 2019
  16. Junio C HamanoSep 2, 2019
  17. Bert WesargSep 2, 2019
  18. Birger Skogeng PedersenSep 2, 2019

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.