I'm using latest msysgit
and I can run the git gui
to write the commit message. But I see the the message edit control don't have the horizontal scroll bar. See the image shot below(I just labeled 1).
Another issue I see is that how can I extend this window to the right bored of the window(I just labeled 2). Thanks.
I notice this is a TK application, and I just check that my git gui version is 0.19, which is the latest release version. See: http://repo.or.cz/w/git-gui.git
Asked
Active
Viewed 309 times
0

ollydbg23
- 1,124
- 1
- 12
- 38
-
2You don't. Make your first line messages shorter and use line breaks for longer text. It's good practice. – musiKk Feb 09 '15 at 15:17
-
Thanks, after some search, I found that git commit message show follow some simple rules, such as [Git Commit Messages : 50/72 Formatting](http://stackoverflow.com/questions/2290016/git-commit-messages-50-72-formatting), so the git gui just follow this rule and disable the horizontal scroll bar deliberately. – ollydbg23 Feb 10 '15 at 03:49
-
1I was taught in college to never write more horizontally then the screen allows because programmers are lazy and don't want to scroll horizontally. – Nedinator Mar 13 '15 at 17:38
1 Answers
1
The fixed width and lack of horizontal scroll bar in this control is a design decision made to encourage well formatted comments in accordance with the git and Linux projects commit style recommendations

patthoyts
- 32,320
- 3
- 62
- 93