feature: configurable description guide length for commit messages - #2740
Open
d-tatianin wants to merge 1 commit into
Open
d-tatianin wants to merge 1 commit into
d-tatianin wants to merge 1 commit into
Conversation
Add a `Description Guide Length` preference next to the existing subject guide length. The commit message editor now: - shows a `DESCRIPTION n/limit` counter (longest body line) with the same warning color and icon used for the subject - draws the vertical column guide at the configured length instead of a hardcoded 80 columns Since the working copy commit box, the reword editor in interactive rebase, the commit template editor and the standalone editor mode all share `CommitMessageToolBox`, the guide applies everywhere a message is written. The default stays at 80 so existing users see no change. Signed-off-by: Daniil Tatianin <99danilt@gmail.com>
d-tatianin
force-pushed
the
description-length-support
branch
from
September 24, 2026 21:35
cbb4850 to
f8debc0
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add a
Description Guide Lengthpreference next to the existing subject guide length. The commit message editor now:DESCRIPTION n/limitcounter (longest body line) with the same warning color and icon used for the subjectSince the working copy commit box, the reword editor in interactive rebase, the commit template editor and the standalone editor mode all share
CommitMessageToolBox, the guide applies everywhere a message is written. The default stays at 80 so existing users see no change.