Skip to content

Commit b4d47b7

Browse files
committed
git-gui: allow larger width for the commit message field
Users may like to make the main window very wide. In this case, a rather small size of the commit message field leaves a wide unused space at the bottom-right. Allow settting the field width to values much larger than 99 characters. In fact, users can set it to extreme values to fill the entire space regardless of window width: the widget geometry will be negotiated to be limited to the available space despite the large requested width. Signed-off-by: Alexander Shopov <ash@kambanaria.org>
1 parent 236d071 commit b4d47b7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/option.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ proc do_options {} {
155155
{i-0..300 gui.blamehistoryctx {mc "Blame History Context Radius (days)"}}
156156
{i-1..99 gui.diffcontext {mc "Number of Diff Context Lines"}}
157157
{t gui.diffopts {mc "Additional Diff Parameters"}}
158-
{i-0..99 gui.commitmsgwidth {mc "Commit Message Text Width"}}
158+
{i-0..9999 gui.commitmsgwidth {mc "Commit Message Text Width"}}
159159
{t gui.newbranchtemplate {mc "New Branch Name Template"}}
160160
{c gui.encoding {mc "Default File Contents Encoding"}}
161161
{b gui.warndetachedcommit {mc "Warn before committing to a detached head"}}

0 commit comments

Comments
 (0)