Commit message edited in Gerrit didn't wrap

Ilmari Lauhakangas ilmari.lauhakangas at libreoffice.org
Thu Oct 20 06:49:15 UTC 2022


On 20.10.2022 9.22, Jim Raykowski wrote:
> I edited the commit message using the Edit commit message button in 
> Gerrit for commit a3238a8e35c9c649069ef67ffa83e0d83f25936b
> I see in the git log it didn't wrap like shown in the Gerrit editor. Is 
> there a way to fix the commit message in the log?

We can't rewrite history, unfortunately. There are ways to wrap long 
lines when viewing git log (just looked into it). For example, while 
viewing the log, you can type -S and hit Enter to switch line-wrapping 
modes. The "Fold long lines" mode wraps lines. This is a feature of the 
less text viewer that git log uses.

Ilmari


More information about the LibreOffice mailing list