Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Line breaking is not WYSIWYG #242
What you see in the git-cola commit message edit window is different from what ends up in the commit. For example, enter this into the edit window:
In Preferences > Settings, what is the "text width" value? Is it 72 (default) or something else? I just tried this with text width = 72 and the display did match the commit for this line:
It word-wrapped before (libav/swresample). I entered this in the "Extended description" field. Did you do the same? We do our own word wrapping so that we can special-case things like
I'll try different text width settings to see if I can reproduce this. I would not be surprised to find a buglet in the word wrapping code. Maybe I can get Qt to do the wrapping for me (rather than writing my own function) then I'll know that it matches for sure. Thanks for the heads up.